This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL problem with displaying of Norweign letters
- From: Joerg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 19 Jun 2002 19:35:34 +0200
- Subject: Re: [xsl] XSL problem with displaying of Norweign letters
- References: <711677989624D411B81E00300501625582BAAB@ECCOLCOM01>
- Reply-to: xsl-list at lists dot mulberrytech dot com
2 problems I already see:
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
To see what's wrong with it: http://www.netcrucible.com/.
Change it to "http://www.w3.org/1999/XSL/Transform".
<?xml version=\"1.0\" encoding=\"windows-1252\"?>
Escaping the "? The XML parser should give an error. And is
"windows-1252" a correct standard? At least not many parser will
understand this correctly. EIther use "ISO-8859-1" too or one of "UTF-8"
or "UTF-16".
Regards,
Joerg
Aradhana Liyanage wrote:
Hi friends,
I have a problem with displaying Norwegian letters. I am creating a xml
using a servlet and to display that I am using a xsl file.
html file is created in the client side.
I used
<?xml version=\"1.0\" encoding=\"windows-1252\"?> in my xml and in my xsl
i am using
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
* the XML file gets the correct Norwegian letters. But it displays a wrong
letters
Also I hardcode a Norwegian name in the XSL file and it is displaying
nicely.
Any help would be appreciated
thanks
Aradhana
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list