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

Subject: RE: dealing with CDATA (was dealing with CDATA on the client-side )
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 7 Jun 2000 09:35:57 +0100
> 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


Current Thread