xsl-list
[Top] [All Lists]

encoding <-> omit-xml-declaration

2004-01-18 09:48:45
i have just noticed, that if i have
    <xsl:output method="xml" omit-xml-declaration="yes"/>
i get the output file with no xml declaration (as it should be).

but if i set the encoding attribute on anything different than UTF-8 the
omit-xml-declaration get ignored and i always get the xml declaration at the
beginning of the output file.

could anyone explain me this correlation?

/maia


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list