This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: outputting a xml file with accentued characters to html


Warren Hedley wrote:
> > My question is : what must I do to have the é character in a correct way
> > : é ?
> 
> 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@nefy.ucl.ac.be


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]