Re: [xsl] [CDATA section] To preserve boundaries after XSL transformation

Subject: Re: [xsl] [CDATA section] To preserve boundaries after XSL transformation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 14 Oct 2004 15:48:56 +0100
> Any suggestion?

your requirements are incompatible with using XSLT.

to XSLT 

a <![CDATA[ 1 < 2 ]]> b

is _identical_ input to

a 1 &lt; 2 b

CDATA is just a syntactic alternative to using references, and is not
reccorded in the input tree, just as <a b="2"/> is the same as <a
b   =   '2'   /> produce identical input and you can not preserve white
space and quote styles inside tags.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread