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

& converted to &

Subject: & converted to &
From: hlgoh@xxxxxxxxxxxxx (Goh Hong Ling)
Date: Fri, 28 Jun 2002 20:11:48 +0800
38
Hai All,
 
In my XSLT file, I want to convert a code to a description.  The description somehow might contains &, < and > symbols.  The description will display as a plaintext.  In my XSL file, I set
 
<xsl:when test=" code='13' ">AI &#38; </xsl:when>
<xsl:when test=" code='14' ">&#163;</xsl:when>
 
When I view the output from my browser, code 13 and 14 display the correct output,  AI & and   .
 
But when I do the translation thru using MSXML2 and DOM object,  code 14 display as  but code 13 turn to AI &amp;.
 
Any idea what is happening?
 
Thanks in advance for the help. *_*
 
Have a nice day !
 
best regards,
Hong Ling
 
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.