[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] International Characters in attributes
Hello, I have the following XML: <PROJECT name="âëíôü"/> When I use XSL to convert to HTML, the value of @name using value-of shows in HTML as: âëíôü 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
|
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
|