Thanks Andrew, it works, although I don't understand why is the xsl:output
from the XSL only used
as a hint when using XMLFilters.
Isn't it a bug?

> -----Original Message-----
> From: Andrew Welch [SMTP:[EMAIL PROTECTED]
> Sent: יום רביעי 02 יולי 2003 10:45
> To:   Aviv Rosenfeld; [EMAIL PROTECTED]
> Subject:      RE: Using <xsl:output omit-xml-declaration="yes"/>  does not
> work with XMLFilter
> 
> 
> 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
>  

Reply via email to