RE: [xsl] Result tree fragment to string? result as CDATA

Subject: RE: [xsl] Result tree fragment to string? result as CDATA
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 28 Aug 2008 17:00:02 +0100
> The solutions I've seen thus far all seem to end up with the 
> markup escaped.

If it's in CDATA then it's not markup. That's what CDATA means: "This might
look like markup, but it isn't". It's character data, so you have to create
it as character data. Or better still, redesign the document so that you
don't have to pretend that it's not markup when it really is.

Michael Kay
http://www.saxonica.com/

Current Thread