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

disable-output-escaping don't work with CDATA spl char

Subject: disable-output-escaping don't work with CDATA spl chars (XSL)
From: karl Rajangam <karl_rajangam@xxxxxxxxx>
Date: Tue, 29 Mar 2005 06:17:50 -0800 (PST)
cdata disable output escaping
Hi,

I coverting xml data (using xsl) to javascript array
format. The xml data have special char's & Iam using
disable-output-escaping="yes" while selecting the
values. 

Eg:
<AccomUnitName
StrippedName="aparthotel_g__246_tzens"><![CDATA[Aparthotel
Gvtzens]]></AccomUnitName>
	
and in xsl I use
<xsl:output method="text" encoding="UTF-8"/> 
to covert xml to javascript & 
	
<xsl:value-of select="AccomUnitName"
disable-output-escaping="yes"/>
		
results in:
Aparthotel Gvtzens
	
However, if the xml data is removed of its <![CDATA
option, Eg:

<AccomUnitName
StrippedName="aparthotel_g__246_tzens">Aparthotel
Gvtzens</AccomUnitName> 

then Iam getting the correct output: 
Aparthotel GC6tzens

My q's are
1) Why suing CDATA affect the display
2) How can I get correct answer with CDATA options (I
need to use CDATA to avoid other problems)

Thanks in advance
karl




		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

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.