[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: MSXML / NBSP problem and resolution

Subject: RE: MSXML / NBSP problem and resolution
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Fri, 8 Nov 2002 13:00:26 +0100
nbsp problem
Again,

XSLT is meant to produce the correct META tag. If it doesn't (showing a
different encoding than then one specified using xsl:output), it's because
of a bug in the code that invokes the transformation.

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 Américo
> Albuquerque
> Sent: Thursday, November 07, 2002 3:47 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  MSXML / NBSP problem and resolution
>
>
> I don't think that is a bug, you're simply getting two meta tags one
> defining the encoding to UTF-16 and other to ISO-8859-1, IE use the last
> one, document order.
>
> Since the meta tag define in xsl appears after the one defined by msxml,
> it uses that, outputing with the correct charset
>
>
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Julian
> Reschke
> Sent: Thursday, November 07, 2002 9:25 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  MSXML / NBSP problem and resolution
>
>
> 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
>
>
>
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.