[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
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
|
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
|