I am new to QT
I am developing application to parse the XML file. But the File format looks like this
<Class name="ABC">
<LayoutEntry name="ABB" type="class:ABB"/>
<LayoutEntry name="ACC" type="class:ACC"/>
<LayoutEntry name="ADD" type="class:ADD"/>
</Class>
<Class name="ABB"> //Declared in class ABC
<LayoutEntry name="ABB1" type="class:ABB1"/>
<LayoutEntry name="ABB2" type="class:ABB2"/>
</Class>
<Class name="ABB1"> //Declared in class ABB
<LayoutEntry name="ABB1" value=ABB1"/>
</Class>
<Class name="ABB2">
<LayoutEntry name="ABB2" value=ABB2"/>
</Class>
Please some one suggest me for any library or method in QT to parse this type of XML . Thanks
You can use the module QtXML 5.8, which is part of the Qt-framework. There you can find the class QDomDocument ( QDomDocument-doc ) for instance.