If I have a string which contains proper xml format and I want to convert it to an XML file so I can use Xpath to parse it properly.
How do I do this? please give me some valid example and i also want to load those each xml node value into Qtablewidgetitem how can i do..please help mee
This requires a normal file writing which saved under the extension
.xml. Check out the example given for file writing in the QFile for Qt 4.6.For this you require
QDomDocument,QDomElementetc., to retrieve the values and the nodes stored in the XML file.Check out the examples given for QDomDocument documentation.
Hope it helps.