[Solved]QDomElement specific childElement
General and Desktop
2
Posts
2
Posters
856
Views
1
Watching
-
Hello,
I want to load some text of a xml document.
I find some methods in the documentary to load the child elements.
E.g. firstChildElement() and lastChildElement() , but is there any possibility to say a specific number?
@
QDomElement root = xmlDocument.firstChildElement();
QDomElement nodeDeposit = root.firstChildElement(); // instead of firstChildElement something like "secondChildElement" or "thirdChild Element"
@thanks
-
Hi,
Loop through QDomNode::childNodes() ?
Hope it helps