[Qt-interest] XML parsing library in Qt
Vladimir Barbarosh
vladimir.barbarosh at gmail.com
Thu Nov 25 23:44:44 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?)
>
> They exist because they existed before the newer classes. These DOM
> and SAX API's conform to the W3C Standards.
>
> Don't use them because you'll probably be more productive and get
> better performance using the newer classes. The standard API's tend
> to be un-fun programming and hard to implement. Further, the
> "standard API" doesn't make them as portable as everyone hoped in the
> beginning.
Thanks for explanations. I'll try newer classes first.
More information about the Qt-interest-old
mailing list