Hi,
I am trying to read an xml file using DOM APIs, now there is an API in QDomElement elementsByTagName() which takes the element tag and returns the list of QDomNode as QDomNodeList. But I am not getting any Node when I am passing the QDomDocument which is having the mentioned element tag.It is always returning empty NodeList. Is there any kind of bug in this API or my usage is wrong.
Also if I have to locate an element in an xml tree is there any better way, I found this API to be qute simple to get the QDomElement having the requried element tag so I thought of using it.
Is there any other way as to how I can retrieve the element which is deep down in the tree??
Regards,
Yogesh
Bookmarks