jeudi 25 février 2016

Export XML using QXmlStreamWriter

I understand the basic of QXmlStreamWriter. How can i using QXmlStreamWriter to output a xml file format like below:

<page name="Demo 3">
    <control type="text" rect="20 20 300 24">
        <attr name="id" value="37" />
        <attr name="caption" value="SAMPLE FOR MODIFYING TABLE CELL 1D/2D" />
        <attr name="style" value="bold" />
    </control>
    <control type="text" rect="20 35 300 24">
        <attr name="id" value="38" />
        <attr name="caption" value="(Set values for Table cell)" />
    </control>
</page>

Aucun commentaire:

Enregistrer un commentaire