xsl-list
[Top] [All Lists]

Re: encoding <-> omit-xml-declaration

2004-01-18 22:02:13
Since ASCII is a subset of UTF-8, an XML file created using ASCII + entities should be correctly read if the reader assumed it was UTF-8. That is, there should be no harm in writing some (most?) UTF-8 characters as entities. (or am I missing something here?)

What does XSLT 2.0 say about needing the xml declaration for such encodings?

Is US-ASCII such an encoding?
Stan Devitt

Michael Kay wrote:

... an XML declaration to be well-formed, so something has to give.

With Saxon, it's the omit-xml-declaration that gives, and that's what's 
specified in XSLT 2.0.




XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list