I am reading in an XML file using QDomElement and everything is working fine. My problem is when I write the xml out after changes, the attributes in my elements are not getting printed in the order that I want them.
This is the order in which I have my file setup:
<var name="width" value="3" units="m" />
And this is the order in which the are written:
<var units="m" value="3" name="width" />
I was wondering if I can specifiy the order in which the attributes are written.
Thanks.
Bookmarks