It seems like there should be a way to prefix the output with CDATA so that
when the XML is written to the output document, it is effectively escaped.
This is similar to what xsl:output supports. The problem I have with
xsl:output is that it seems I have to know all the elements that should be
output as CDATA ahead of time.
----- Original Message -----
From: "Eliot, Topher" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, August 24, 2000 3:39 PM
Subject: Re: Simple question about preserving XML in XSL output
> Unfortunately I think you're out of luck. The XSLT documentation I've
> has made a big point of the fact that XSLT transforms a *tree* into a
> *tree*, not an XML document into an XML document.
> -----Original Message-----
> From: Khalid Asad [mailto:[log in to unmask]]
> Sent: Thursday, August 24, 2000 1:42 PM
> To: [log in to unmask]
> Subject: Simple question about preserving XML in XSL output
> I'm trying to find a way to use XSL to copy a fragment of an XML source
> to an output document so that the outputted fragment is not interpreted by
> parser run against the output doc. I thought there was a simple technique,
> but so far it has not jumped out at me. Help is appreciated.