Re: outputting a xml file with accentued characters to html

Subject: Re: outputting a xml file with accentued characters to html
From: Gilles Durys <Gilles.Durys@xxxxxxxxxxxxxx>
Date: Thu, 25 May 2000 17:51:02 +0200
Warren Hedley wrote:
> > My question is : what must I do to have the é character in a correct way
> > : &eacute; ?
> 
> Specify the desired character encoding in the <xsl:output> element. The default
> is UTF-8, and you probably want iso-8859-1.
> 
> eg. <xsl:output method="html"
> encoding="iso-8859-1">
Thank you but I've found the solution
What you said is part of it.
But i've also to add an encoding attribute to my xml document

eg:
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>

If I don't do this, it doesn't work the way I want it

-- 
Gilles Durys
Gilles.Durys@xxxxxxxxxxxxxx


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


Current Thread