This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
[no subject]
- From: Corey_Haines at progressive dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 6 Feb 2002 15:30:29 -0500
- Reply-to: xsl-list at lists dot mulberrytech dot com
>> Hi all,
>> Very simply, I'm trying to do the following:
>>
>> <![CDATA[</i>]]>
>>
>> but the < and > are being escaped as < and > in the
>> output which is
>> not what I want. How do output the symbols themselves? My
>> output method is
>> html and I'm using xalan 1.2.
>
>>By putting the <i/> in CDATA, you are telling the system that the "<"
and
>>">" are ordinary characters, and are not to be treated as markup. If you
>>want them treated as markup, don't put them in CDATA.
>
>
>
I've had this problem, too, when I wanted to output partial nodes. If you
do
<xsl:value-of select="." disable-output-escaping='yes' />
when you are pushing to the output stream, then it should come out as </i>
and not < /i >
-Corey Haines
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list