Subject: Re: [xsl] i18n problem while displaying using stylesheet From: Josh Canfield <joshcanfield@xxxxxxxxx> Date: Fri, 25 Jun 2004 01:27:58 -0700 |
Hmm.. you probably need to provide a simple stylesheet that demonstrates your problem. Here is a sample I made up that works as I would expect, but I don't know what your requirement is. The Japanese characters are output as character references, but your browser should display them correctly. (or what I suppose is correctly since I don't read Japanese...) <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="UTF-8" indent="yes"/> <xsl:template match="/x"> <html><body> <xsl:apply-templates/> </body></html> </xsl:template> <xsl:template match="country"> <b><xsl:value-of select="@name"/></b><br/> </xsl:template> </xsl:stylesheet> On Fri, 25 Jun 2004 00:53:31 -0700 (PDT), Ranjan K. Baisak <ranjanbaisak@xxxxxxxxx> wrote: > > Hello List, > My xml contains following elements with > japanese characters. > <country > name="入力業務工数の削除" > nameindex="1" /> > <country > name="入力業工数の削除" > nameindex="2" /> > I need to display japanese charachers as it is. My > stylesheet displays acsii characters not japanese > characters when it converts xml to html. Any > suggestion regarding what are steps I need to take > care to to show the content of "name" attribute as it > is in html format. > > regards, > Ranjan > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > --+------------------------------------------------------------------ > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ > or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> > --+-- > >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
i18n problem while displaying using, Ranjan K. Baisak | Thread | AW: [xsl] i18n problem while displa, christof.hoeke |
AW: [xsl] i18n problem while displa, christof.hoeke | Date | Prateek Gupta/Louisville/Humana is , Prateek Gupta |
Month |