|
Subject: A FAQ question about non-Latin characters in XT output From: "Jarno Elovirta" <jarnose@xxxxxxxxxx> Date: Tue, 12 Oct 1999 18:34:04 +0300 |
A definately FAQ question to which I didn't find an answer in the XSL FAQ
though: I have some non-Latin characters in my xml documents as character
references and I'd like to run the documents through xt and those character
references would still be there. example:
Source:
<?xml version="1.0" encoding="ISO-8859-1"?>
<character>
i G I ć
</character>
Stylesheet:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<xsl:value-of select="character"/>
</xsl:template>
</xsl:stylesheet>
when I run it through the latest xt, I get:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
i G I ć
, but I when I try to output it as xml by changing the method to "xml", I
get:
i G I Ä?
and I'd like to get the same as with html output without the doctype.
what... am I missing? just plain stupidity on my part?
Jarno - the idiot, it seems
BEGIN:VCARD VERSION:2.1 N:Elovirta;Jarno FN:Jarno Elovirta ORG:Evitech;KNIXMAS Project TITLE:Information Technology Engineer TEL;WORK;VOICE:+358 9 511 9845 ADR;WORK:;;;;;;Finland LABEL;WORK:Finland EMAIL;PREF;INTERNET:jarnose@xxxxxxxxxx REV:19990913T062920Z END:VCARD
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Populate an array -- extension func, Garriss Jr.,James P. | Thread | Re: A FAQ question about non-Latin , David Carlisle |
| Populate an array -- extension func, Garriss Jr.,James P. | Date | A FAQ question about non-Latin char, Jarno Elovirta |
| Month |