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

Diego Iastrubni diegoiast at gmail.com
Thu Apr 22 20:40:01 CEST 2010


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/aeb8562c/attachment.html 


More information about the Qt-interest-old mailing list