generate XML file from the Graphics Scene
Hello forum,
I have a customized graphics scene containing several graphics items inside it.
I want to save the scene in the xml file so that all the items related information will be stored in the xml file. The scene could range from very small to very large.
Which one is a better option SAX or DOM?
Regards
Sajjad
Re: generate XML file from the Graphics Scene
IMHO none of them
If you only need to write on a file, I suggest you to use QXmlStreamWriter
Re: generate XML file from the Graphics Scene
Hello mcosta,
I believe if i have to parse the very same generated file and render the item in the graphics scene i shall have to use QXmlStreamWriter.
Isnt it?
Regards
Sajjad
Re: generate XML file from the Graphics Scene
Use QXmlStreamReader for reading, and XmlStreamWriter for writing :)