[Qt-interest] XML parsing library in Qt

Scott Aron Bloom Scott.Bloom at onshorecs.com
Fri Nov 26 00:57:22 CET 2010


History....

QtXml existed before, but is being deprecated to the new functionality.

Scott
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Vladimir
Barbarosh
Sent: Thursday, November 25, 2010 2:21 PM
To: Thiago Macieira
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] XML parsing library in Qt

>> 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.
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list