[Qt-interest] XML parsing library in Qt

Thiago Macieira thiago at kde.org
Thu Nov 25 17:04:08 CET 2010


Em Quinta-feira, 25 de Novembro de 2010, às 12:23:16, Anisha Kaul escreveu:
> Hello to all,
> 
> The question is :
> 
> 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.

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.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101125/8e31506b/attachment.bin 


More information about the Qt-interest-old mailing list