[xquery-talk] XPath parser in Java

David Carlisle davidc at nag.co.uk
Tue Oct 10 11:33:00 PDT 2006


> Rather, I want the XPath parser to return an array or a
> list or tree or anything where I can traverse step by step.

There are xpath and xquery java parsers available from the working group
pages (maintained by Scott Boag, mainly)
http://www.w3.org/2005/qt-applets/xqueryApplet.html
This builds an in memory tree of the expression with methods to dump it
as indented text or as XML.
I use it as the parser for xq2xml
http://monet.nag.co.uk/xq2xml/index.html

David


More information about the talk mailing list