[Qt-interest] XML parsing library in Qt
Vladimir Barbarosh
vladimir.barbarosh at gmail.com
Thu Nov 25 23:21:19 CET 2010
>> Is *libqt4-xml* equivalent of *libxml2* with respect to *XML* parsing ?
>> I hope I am not barking at the wrong tree.
>
> No. QtXml is the DOM and SAX API. We recommend people don't use that.
Why then they are exist? (I never work with XML at the past, although have
plans to study it. So, I just curious about why they are exist but I
must not use them?)
> Instead, please use QXmlStreamReader and QXmlStreamWriter, which are in
> QtCore. They are a bit more complex to use, but they are *much* faster and use
> a lot less memory.
More information about the Qt-interest-old
mailing list