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]
Other format: [Raw text]

Re: XSL problem with displaying of Norweign letters


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


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