> 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?

The serialiser is the last thing in the chain, and it’s the serialiser which 
controls things like omit-output-declaration.  

Say you have two XMLFilters, one says omit-xml-declaration="yes" and one says 
"no", which should the serialiser listen to?  So the only way to control the 
serialiser is through setOutputProperty(), its not a bug, just something to be 
aware of.

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