[xsl] RE: [xsl] RE: [xsl] Re: [xsl] RE: [xsl] Re: [xsl] Re[2]: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á

Subject: [xsl] RE: [xsl] RE: [xsl] Re: [xsl] RE: [xsl] Re: [xsl] Re[2]: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Fri, 14 Dec 2001 09:24:46 +0100
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kevin Burges
> Sent: Thursday, December 13, 2001 10:47 AM
> To: Hunsberger, Peter
> Subject: [xsl] RE: [xsl] Re: [xsl] RE: [xsl] Re: [xsl] Re[2]: [xsl] Re:
> [xsl] RE: [xsl] Re: [xsl] &#160; is being displayed as Á
>
>
> Peter:
> HP> encoding type will be added automatically.  Remember that
> meta tags are a
> HP> bit of a kludge in that they allow you to code information at
> the HTML level
> HP> that would normally be coded in the http headers.
>
> If you have http headers. The stuff I am dealing with is being
> delivered either by email attachment or on disk, not theougn an http
> server
>
> Julian:
> > DC> If you are using the html output method then you shouldn't explictly
> > DC> make an meta element, one will be added automatically.
> JR> I think it only does produce it if you're creating a <HEAD> element.
>
> In MSXML is doesn't seem to create it even if you do have a <head>

Yes it does. Again, try:

~> cat nbsp.xslt
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version="1.0"
>

<xsl:output encoding="utf-8" method="html"/>

<xsl:template match="/">
<html>
  <head>
  </head>
  <body>
    <p>
      non&#0160;breakable
    </p>
  </body>
</html>
</xsl:template>

</xsl:transform>

~> msxsl nbsp.xslt nbsp.xslt
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>
      non?ábreakable
    </p>
</body>
</html>


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


Current Thread