PDA

View Full Version : About QDomDocument.elementById()



Cyrano
6th October 2012, 11:42
According to the documentation: "this function returns always a null element" (why not yet implemented???).
Is there an alternative way to lookup and retrieve a node in a QDomDocument with a specific ID?

wysota
7th October 2012, 17:48
Walk the DOM tree element by element and query each element for the ID you need.