PDA

View Full Version : How to read and get the values out of the xml?



dark1988
18th July 2008, 10:28
how to get multi line of values out of xml??

Sample xml:

<xml name="xml"/>
<xml1 name="xml1"/>
<xml2 name="xml2"/>
<xml1 name="xml3"/>

thanks..:)

jacek
26th July 2008, 01:29
See the QtXml (http://doc.trolltech.com/4.4/qtxml.html) module. Qt offers you three ways to read XML:

DOM (http://doc.trolltech.com/4.4/qdomdocument.html),
SAX (http://doc.trolltech.com/4.4/qxmlsimplereader.html),
and QXmlStreamReader.