hazardpeter
21st August 2009, 15:52
So suppose we have an application that creates and writes and XML file using QXmlStreamWriter, and the XML will look like this:
<xml>
<element>
<atrib>Something</atrib>
<atrib>Something else</atrib>
</element>
<element>
<atrib>Other</atrib>
<atrib>Do not know</atrib>
</element>
</xlm>
What I would neeed now is that other application opens the file and ands another <element> block so the file would look like this:
<xml>
<element>
<atrib>Something</atrib>
<atrib>Something else</atrib>
</element>
<element>
<atrib>Other</atrib>
<atrib>Do not know</atrib>
</element>
<element>
<atrib>New</atrib>
<atrib>New</atrib>
</element>
</xlm>
Any guess
<xml>
<element>
<atrib>Something</atrib>
<atrib>Something else</atrib>
</element>
<element>
<atrib>Other</atrib>
<atrib>Do not know</atrib>
</element>
</xlm>
What I would neeed now is that other application opens the file and ands another <element> block so the file would look like this:
<xml>
<element>
<atrib>Something</atrib>
<atrib>Something else</atrib>
</element>
<element>
<atrib>Other</atrib>
<atrib>Do not know</atrib>
</element>
<element>
<atrib>New</atrib>
<atrib>New</atrib>
</element>
</xlm>
Any guess