Subject: RE: MSXML / NBSP problem and resolution
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Thu, 7 Nov 2002 10:25:10 +0100
|
If this works for you, and the standard way doesn't, then
- you either discovered a bug in your XSLT processor or
- you have a bug in your code that does the transformation (most likely
losing encoding information, or changing the encoding to something the XSLT
engine didn't know of).
Julian
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Thomas V.
> Nielsen
> Sent: Thursday, November 07, 2002 9:43 AM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: RE: MSXML / NBSP problem and resolution
>
>
> I'll assume you are transforming into a html page.
>
> If so, instead of using something like <xsl:output method="html"
> version="1.0" encoding="UTF-8" indent="yes"/> in your xsl, try using
> something like
>
> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
> omit-xml-declaration="yes"/>
> <xsl:template match="*">
> <html>
> <head>
> <title>Title</title>
> <meta content="text/html; charset=ISO-8859-1"
> http-equiv="Content-type"></meta>
> </head>
> <body>
> <xsl:apply-templates/>
> </body>
> </html>
>
> It isn't nice but it works for me..
>
>
> <Thomas/>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
Thomas V. Nielsen - Thu, 7 Nov 2002 03:39:39 -0500 (EST)
- Julian Reschke - Thu, 7 Nov 2002 04:21:36 -0500 (EST) <=
|
|