PDA

View Full Version : Parsing xml file



A.H.M. Mahfuzur Rahman
10th June 2009, 03:15
I need to read and parse a xml file using Qt.

How this can be done?

Thanks in advance
Mahfuz

nish
10th June 2009, 04:01
three ways..

1. QDom
2. QXmlStreamReader
3. SAX

read about them in Qt assistant ...

aamer4yu
10th June 2009, 06:05
QDomElement and QDomDocument classes are also sufficient for XML handling. You can use QDomDocument::setContent to create a document, and access the child nodes with QDomElement