and I wrote some code, that targets to print out the name of the XML nodes and the value of the "name" attribute:
@
QXmlStreamReader reader(&_project);
while (!reader.isEndDocument()) {
reader.readNextStartElement();
qDebug() << reader.name() << reader.attributes().value("name");
reader.skipCurrentElement();
else if(reader.isEndElement()) {
reader.readNextStartElement();
qDebug() << "";
}
}
@

It seems that the processing getting into an infinite loop when it reaches the "<proeprty name="trigger" ...>" line under the "enumeration" node.

I guessed that some "step back" should be exist that navigate me to the parent node, but I didn't found such a method in the API reference.

thank you very much, it was a really nice help. (Additionally, my XML file wasn't well formatted, but it's fixed).
But there is one thing that I didn't see, how can I relaize: how can I insert a node into an existing XML file?