Generating XML in Qt
-
I did a search about writing XML files. After reading the results, I am confused and now writing this post.
I read that Qt has no dedicated XML writer class. "Source 1":http://doc.qt.nokia.com/qq/qq05-generating-xml.html
Then I read about XML streaming. "Source 2":http://doc.qt.nokia.com/latest/xml-streaming.htmlSo is the first source and old article, and the XML streaming something rescent?
-
The first link appears to be from 2003. There is indeed a QXmlStreamWriter class and it works quite well. The class reference is available "here":http://doc.qt.nokia.com/latest/qxmlstreamwriter.html.
According to that class reference, it was added in Qt 4.3. (which was released in 2007)
-
I'll give you one very valuable tip:
Start any search for Qt info in the Qt Documentation !
It's really quite good...