reading root element in xml not the child
- by Umesha MS
Hi I am working on an application which reads XML file. Here I am trying to read the node under the not under the node .
When I tried to read the I get both.
Please help me to solve the problem.
Bellow is the sample.
"a"
"x"..."/X"
"b"
"name" 123 "/name"
"/b"
"name" main "/name"
"c".."/c"
"/a"
QDomDocument mDocument;
QDomElement …