How to add xml-stylesheet tag to XML file using python? -
i'm trying add xml-stylesheet tag in front of existing xml file using python.
eg. i'm trying add
<?xml-stylesheet type="text/xsl" href="audit_stylesheet.xsl" ?>
to beginning of xml file.
if change line to
"<?xml-stylesheet type=\"text/xsl\" href=\"audit_stylesheet.xsl\" ?>"
and use https://stackoverflow.com/a/5917395/4843078 should go
Comments
Post a Comment