xsl-list
[Top] [All Lists]

Re: MSXML / NBSP problem and resolution

2002-11-07 09:45:38

The question then, is MSXML 3.0 broken because it adds the meta node 
into the result set if output method="html"?

No it is _mandated_ to add a meta element  by the XSLT spec.
It has to place a meta element reflecting the encoding it actually used
rather than the encoding you request in xsl:output.

If you call msxml so that it produces a dom or similar in memory
representation then it always uses utf16 and ignores the requested output
encoding. If you ask it to output to a file or string then it will use
the encoding you request if it is supported on your platform.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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