[Qt-interest] what is the best approach to parse xml data to make it as generic as possible

Meir Yanovich meiry242 at gmail.com
Thu Apr 22 21:32:49 CEST 2010


sorry i didnt understand you fully .. what do you mean ?

On Thu, Apr 22, 2010 at 9:40 PM, Diego Iastrubni <diegoiast at gmail.com>wrote:

> Meir,
>
> *IMHO* if you can map the XML sent to a static struct/class - use
> SAX/QXMLStreamReader, otherwise, if the data is more or less random in
> schema, use DOM.
>
>
> On Thu, Apr 22, 2010 at 11:50 AM, Meir Yanovich <meiry242 at gmail.com>wrote:
>
>> Hello all
>> im to find good and affective way to parse xml data structure that
>> different API calls are returning
>> the problem is that each time i need different data and each time im
>> getting different xml structure
>> now what is the best way to use the SAX approach or The DOM approach and
>> how does QT 4.6
>> recommends to implement such scenario ?
>> Thanks
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100422/95a3a2e8/attachment.html 


More information about the Qt-interest-old mailing list