Using <xsl:output omit-xml-declaration= "yes "/ > does not work with XMLFilter 2003-07-02 - By Andrew Welch
Hi,
IIRC, the xsl:output attributes are only hints to the serialiser, and in the case of using an XMLFilter the serialiser will ignore all xsl:output hints all togther.
You need to specify them programmatically in java, using something like:
transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "YES");
There's a property equivalent for each of the attributes of <xsl:output/>
cheers andrew
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/2003
|
|