In Saxon 7.4, look for the class net.sf.saxon.xpath.XPathEvaluator -
there's an overview in the file api-guide.html and of course full
JavaDoc documentation.
In Saxon 6.5.2, the API is less well defined, though it's still possible
to achieve the result. The sample application ShowBooks.java will point
you to some of the interfaces you need to use.
Michael Kay
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Liu Shuai
Sent: 26 February 2003 23:58
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] XPathEvaluator in SAXON?
Hi all,
In Saxon, is there a easy way to query a xml file against a xpath and
receive the result as a node-set/list of nodes, like the
XPathEvaluator
class in Xalan?
Thank you for your attention.
LS
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list