| Subject: Re: [xsl] identity transform - include CDATA's, etc From: "Abie Hamaoui" <ahama5@xxxxxxxxxxx> Date: Tue, 08 Jul 2003 19:41:31 +0000 | 
the reason I wanted the <![CDATA[]]> to come out in the output is that output of the identity transform is supposed to undergo another xslt transform.
In that case you _definitely_ don't mind.
<![CDATA[ <a>b</a>]]>
and
<a>b<a>
are _identical_ as far as XSLT is concerned.
ok, but these 2 lines are not identical to <a>b</a>
I tested saxon and msxsl using the identity transform on jscript.xml: <?xml version="1.0" encoding="utf-8"?> <docroot> <a> <![CDATA[ if( x < y ) alert(); ]]> </a> </docroot>
and it output: <?xml version="1.0" encoding="utf-8"?> <docroot> <a> if( x < y ) alert(); </a> </docroot>
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] identity transform - incl, David Carlisle | Thread | Re: [xsl] identity transform - incl, Mike Haarman | 
| Re: [xsl] document() for opening mu, David Carlisle | Date | [xsl] Site structured on XSLT., Claudio Russo | 
| Month |