This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: CDATA block to node set.
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 9 May 2002 23:26:05 +0100
- Subject: RE: [xsl] CDATA block to node set.
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I know that my question may seem that of a delusional madman.
> But I'm well aware of what CDATA is, I had just hoped to access it
> the same way one can access data from a URL:
Well, you can. The CDATA contains a string. If this string is well-formed
XML, you can turn it into a tree by parsing it. Saxon 7.1 allows you to do
this using saxon:parse(). But it still begs the question: the purpose of
CDATA is to say "the stuff in here isn't markup", so if it is markup, why
are you putting it in CDATA?
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list