This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Encoded characters and CDATA
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Encoded characters and CDATA
- From: YueMa <may at mail dot nlm dot nih dot gov>
- Date: Tue, 03 Jul 2001 10:27:57 -0400
- Organization: NLM
- References: <3B41D0F7.FA43062@mail.nlm.nih.gov>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Sorry, I've got the answer: normalize-space()
Thanks
Yue
YueMa wrote:
> 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list