This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[no subject]


>>  Hi all,
>>   Very simply, I'm trying to do the following:
>>
>>  <![CDATA[</i>]]>
>>
>>  but the < and > are being escaped as &lt; and &gt; 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 &lt; /i &gt;

-Corey Haines

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]