Why are the facilities of the QtXml module insufficient to manipulate your SVG document? SVG is just an application of XML and you have DOM and SAX access paths, in QtXML, along the XSLT, XPath, XQuery, and schema validation in QtXmlPatterns.