PDA

View Full Version : Generating xml file



sam123
23rd June 2016, 12:22
Hello,

Is it possible to generate xml file of Sql database in Qt??
If yes then what method should i use. I have just found the method of validation of xml and generating direct xml.

I have alredy Schema file for of xml.


looking for the responce.

Thanks in advance..

anda_skoa
23rd June 2016, 14:45
First thing to check is if the database itself can generate an XML export.

If not you need to run queries and use Qt's XML classes to created XML, e.g. QXmlStreamWriter.

Cheers,
_