I think that the following are considered ProcessingInstructions.

<?xml version="1.0" encoding="UTF-8"?>
<?jaxfront version=1.60;time=2005-12-18 12:15:07.078;xsd=wineXML.xsd?>

Am I correct?

If yes how do I get them into file?

    doc = et.XML(doc_header)
    pi1 = et.ProcessingInstruction('xml version="1.0" encoding="UTF-8')
    doc.append(pi1) # append is not what I want/need
    pi2 = et.ProcessingInstruction(("twcb version=%s;xsd=wineXML.xsd") %
                            (__version__.twcbVERSION_STRING))
    doc.append(pi2) # append is not what I want/need

Thanks in advance for any help
Werner




_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to