Using <xsl:output omit-xml-declaration= "yes "/ > does not work wit
h XMLFilter 2003-07-01 - By Aviv Rosenfeld
Hi,
I would like to drop the XML declaration from the output of my multiply transformation. Adding the line: <xsl:output omit-xml-declaration="yes"/>, to the xsl file, does not seems to work and I still get the XML declaration in the output.
I am using a similar code to the "UseXMLFilters" Xalan sample. I have changed foo3.xsl to the following (added the xsl:output element):
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output omit-xml-declaration="yes"/> <xsl:template match="out"> <out><xsl:value-of select="."/> ...and goodby!</out> </xsl:template> </xsl:stylesheet>
How do I get rid of the XML declaration in the output?
Thanks Aviv
|
|