Re: Question about generation of the XML declaration

Daniel Veillard wrote:

> Question: when outputting as XML, should the XSLT processor
>           generate an XML declaration when for example no
>           xsl:output is defined ?

Yes.

>  The spec says
> 
>  "The xml output method should output an XML declaration unless
>   the omit-xml-declaration attribute has the value yes."

Seems clear to me.
 
> Or should D.2. example show an XML declaration ?

Yes. That's a bug.

James

Received on Friday, 26 January 2001 04:55:33 UTC