XML in QT [Solved]:)
General and Desktop
9
Posts
4
Posters
3.4k
Views
1
Watching
-
Please have a look at "Qt classes for XML processing":http://qt-project.org/doc/qt-4.8/xml-processing.html
-
"XML Examples":http://doc.qt.nokia.com/4.7-snapshot/examples-xml.html
You have examples for XML parsing with both DOM and SAX API.
-
[quote author="Julie1986" date="1346750421"][Solved.] Thanks Mr. Anavi.[/quote]
You are welcome :)
-
Note that Qt has a third API for XML parsing (and writing), that is neither SAX nor DOM: QXmlStream. Check out [[doc:QXmlStreamReader]] and [[doc:QXmlStreamWriter]] for details. I find it easier to use in many cases than the other two, and it is situated in QtCore (so no additional library needed).