Thread: XML plugin
View Single Post
Old 12th May 2015, 21:50   #108
traal
Junior Member
 
Join Date: May 2015
Posts: 1
Don't remove "xml-stylesheet" declaration

Before calling ${xml::SaveFile} on an existing .xml file:

code:
<?xml-stylesheet type="text/xsl" href="MyStylesheet.xslt"?>


After calling ${xml::SaveFile}:

code:
<?xml ?>


Please fix this.

Also, the plugin doesn't preserve whitespace: it removes blank lines, puts all attributes on the same line as the element, and I think it also modifies indenting.
traal is offline   Reply With Quote