[xsl] encoding <-> omit-xml-declaration

Subject: [xsl] encoding <-> omit-xml-declaration
From: "Maia Zaharieva" <m.zaharieva@xxxxxxx>
Date: Sun, 18 Jan 2004 17:48:45 +0100
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?


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

Current Thread