Re: [xsl] xalan:node-set() with < and >

Subject: Re: [xsl] xalan:node-set() with < and >
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Oct 2005 17:01:13 +0100
This is a FAQ. 
xx:node-set converts result tree fragments into node sets, that is, it
converts one kind of in-memory tree to another. If you want to convert
a string containing XML markup into an in memory tree, then what you
need is an XML parser. Saxon offers a saxon:parse() extension for this,
I don't know about xalan, but if it doesn't offer a "simple" extension
function you could certainly escape to java and call an XML parser from
java (which is all saxon:parse does, really.)

Alternatively of course you can get whatever is passing in this value
to pass in a tree instead.

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