Hi,
Is there any method of class QDomDocument to generate the "head" of the xml file? This "head" referring to is this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
Thanks,
Marcelo E. Geyer
Printable View
Hi,
Is there any method of class QDomDocument to generate the "head" of the xml file? This "head" referring to is this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
Thanks,
Marcelo E. Geyer
QDomDocument::createProcessingInstruction()
e.g.
Code:
createProcessingInstruction("xml", "version=\"1.0\" encoding=\"utf-8\"");