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

Encoded characters and CDATA

Subject: Encoded characters and CDATA
From: YueMa <may@xxxxxxxxxxxxxxxx>
Date: Tue, 03 Jul 2001 10:04:39 -0400
cdata sample
Hi there,
For CDATA like this:
  <image_url>
    <![CDATA[sample.htm ]]>
  </image_url>

Note I do have a space after the "sample.htm" and the CDATA tag does
start at a new line,
and for the <xsl:value-of select="//image_url"/> I got result string
like:
%0D%0A%09%09%09sample.htm%20%0D%0A%09%09

So if I want to avoid all the encoded characters, I have to have my
CDATA like:
  <image_url><![CDATA[sample.htm ]]></image_url>

Is that correct, or I have other choice?

Thanks!
Yue


 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.