All of my output has <?xml version="1.0"?>
in front of my intended output. How do I get rid of this? I have looked at different flags but I can't find anything relating to this.
Some extra details:
There is an attribute on xslt:output called "omit-xml-declaration"
For example:
<xsl:output method="html" omit-xml-declaration="yes" />
That should remove it.
IIRC, it's omit-xml-declaration="yes"
in <xsl:output />
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With