Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Need Help understanding XML Processing
FabianH last edited by
I need my program to read data from another program. The emiting program writes the Data to an xml File. I never worked with xml before and cant figure out how to read it. The file offers this
<desc>Slope 33 3 x 6</desc>
How can i read out the 3939 of section id?
Also i liked to know whether my english can be understood or not :-)
I hope, someone can help me
koahnig last edited by
welcome to devnet
There are a couple of "Qt examples handling xml.":http://qt-project.org/doc/qt-5.0/qtdoc/examples-xml.html
Roughly summarized xml uses tags embracing the information. The opening tag id starts with'<' and ends with the next '>'. The closing tag starts with'</' and ends with '>'.
However, I guess you have figured it out as far anyhow.
See more details in "wikipedia":http://en.wikipedia.org/wiki/XML_Schema_(W3C)
BTW Your English is excellent :-)
There are only some native English speakers and most of us fight with English anyway ;-)