I recently started using xml in my app and i fell prey to QXmlStream* classes.
So far i found it really good and easy, but i came across a situation where i had to extract a fragment of xml from a xml document.
To be precise i want to extract svg embedded in xml so that i can construct QGraphicsSvgItems.
Is there a way to do this using QXmlStreamReader class ?
Currently i use dom to get the fragment but this is tedious as well as double work.
I am also open to suggestion regarding any special kind of embedding svg to enable it to be extracted .
P.S: Opening an external svg is already possible, i just need to add an option for embedded svgs.




Reply With Quote
Bookmarks