RE: [Serial] serialization of xhtml + omit-xml-declaration

> 
> http://www.w3.org/TR/xslt-xquery-serialization/#N10E63 probably is the
> relevant part. as i understand it, it only specifies when a 
> declaration
> MUST be output, but not when it MUST NOT be output. or am i reading it
> wrong or lacking some context?

I think you're right, the specification forgets to say that an XML
declaration must not be output if the omit-xml-declaration parameter has the
value "yes". Sometimes one forgets to say the obvious.

Michael Kay

Received on Tuesday, 7 December 2004 10:53:00 UTC