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]

RE: dealing with CDATA (was dealing with CDATA on the client-side)


> SYNOPSIS:
> What do I need to do to keep an XSL transform in an MS XMLDOM 
> environment from converting < and > in a CDATA node to &lt; and &gt;?
> 
> <etcetera>
>     <![CDATA[this is a <a href="http://yahoo.com>test link/a>]]>
> </etcetera>
> 
The characters "<" and ">" within CDATA are text characters, not markup. You
can trick the serializer into outputting them as markup by using
disable-output-escaping="yes", provided your XSLT processor supports this
feature (it's not mandatory).

Mike Kay


 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]