mattia
26th February 2008, 07:33
Hello, i have to create an XML file, i start with this new processing instruction
QDomNode xmlNode = XMLDomDocumentList.createProcessingInstruction ( "!DOCTYPE" , "RDPClientSettingsConfigFile" );
XMLDomDocumentList.insertBefore ( xmlNode , XMLDomDocumentList.firstChild() );
the results is:
<?!DOCTYPE RDPClientSettingsConfigFile?>
is there a way to remove "?" in the processing instruction?
I'd like to have a results like this:
<!DOCTYPE RDPClientSettingsConfigFile>
QDomNode xmlNode = XMLDomDocumentList.createProcessingInstruction ( "!DOCTYPE" , "RDPClientSettingsConfigFile" );
XMLDomDocumentList.insertBefore ( xmlNode , XMLDomDocumentList.firstChild() );
the results is:
<?!DOCTYPE RDPClientSettingsConfigFile?>
is there a way to remove "?" in the processing instruction?
I'd like to have a results like this:
<!DOCTYPE RDPClientSettingsConfigFile>