DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21193>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21193

Using <xsl:output omit-xml-declaration="yes"/>  does not work with XMLFilter

           Summary: Using <xsl:output omit-xml-declaration="yes"/>  does not
                    work with XMLFilter
           Product: XalanJ2
           Version: 2.2.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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 reed of the XML declaration in the output?

Thanks
Aviv

Reply via email to