[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

chinese characters just working when defined in xsl-f

Subject: chinese characters just working when defined in xsl-fo-page directly
From: "Christoph Klocker" <klocker@xxxxxxxxxxxxx>
Date: Fri, 5 Nov 2004 14:28:30 +0100
chinese glyphs
Hi,
tried to solve this problem, now for 3 days, but couldn't figure out the
problem,
even on the FOP list I couldn't find an answer, maybe someone of you
experienced the same.


I got a strange problem, I am using Fop through cocoon.

I have embedded the chinese font for displaying the glyphs.
The strange thing, if I define the characters like this

<fo:block font-size="7pt" color="rgb(0,160,198)"
font-family="SimSun">&#32173;&#20063;&#32013;</fo:block>
I got the right result, the glyphs are displayed correctly.

but
when I try to print the data out of an XML file the output is the unicode
reference and not the right glyphs
this
<fo:block font-size="7pt" color="rgb(0,160,198)"
font-family="SimSun">&#32173;&#20063;&#32013;<xsl:value-of
select="*[1]"/></fo:block>
results in "3 chinese glyphs + &#32173;&#20063;&#32013;"
where the XML data is:
<FaaLocTextCH>&#32173;&#20063;&#32013;</FaaLocTextCH>

thanks for help
Christoph

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.