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

International Characters in attributes

Subject: International Characters in attributes
From: "Michael Storm" <Mstorm@xxxxxxxx>
Date: Fri, 9 Feb 2001 09:58:14 -0800
ocirc xml xsl
Hello,

I have the following XML:

<PROJECT  name="&#226;&#235;&#237;&#244;&#252;"/>

When I use XSL to convert to HTML, the value of @name using value-of
shows in HTML as:

&acirc;&euml;&iacute;&ocirc;&uuml;

which is what I want. However, if I use value-of inside an <xsl:attribute>
like this:


<input type="text">
<xsl:attribute name="value">
<xsl:value-of select"PROJECT/@name"/>
</xsl:attribute>
</input>

it outputs the following characters to the HTML:

âëíôü

This happens in the same template, so I am getting two different output
results for the same attribute. Any suggestions? (I'm using JRUN for the
server and XERCES and XALAN for transformation)

Thanks
Michael


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.