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]

RE: CData escaping


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

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com


 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]