Subject:Hiding declarations in XSLT Author:Minollo I. Date:18 Apr 2006 01:18 PM
To remove namespace declarations from the output, you can use the attribute "exclude-result-prefixes" in the <xsl:stylesheet...> element; like:
<xsl:stylesheet .... exclude-result-prefixes="xsi a">
To remove the XML PI from the output, you can add omit-xml-declaration="yes" in your <xsl:output> element:
<xsl:output omit-xml-declaration="yes"/>