[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] A FAQ question about non-Latin characters in XT output
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|