xsl-list
[Top] [All Lists]

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

2005-10-17 09:01:13

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>