[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] MSXML / NBSP problem and resolution


Subject: Re: [xsl] MSXML / NBSP problem and resolution
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 7 Nov 2002 16:45:38 GMT

> 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



Current Thread
Keywords