logo       

Re: XPath parser in Java: msg#00024

Subject: Re: XPath parser in Java
David Carlisle wrote:
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

These parsers are kept up to date with the latest drafts of XPath 2.0 and XQuery 1.0, and the text description in the specifications is generated from the same grammar as the parser, all the examples in the specifications (including the use cases) are tested with them, and they have had wide review. So there are real advantages to using them. Unless you need an XPath 1.0 parser.

Jonathan

--
Read my Blog: http://blogs.datadirect.com/jonathan_robie/
Learn XQuery: 
http://media.datadirect.com/download/docs/ddxquery/tutorial_query.html
Learn XQJ (the JDBC for XQuery): 
http://www.datadirect.com/developer/xquery/topics/xqj_tutorial/
Get DataDirect XQuery: http://www.datadirect.com/products/xquery/




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
region.costa-ri...    user-groups.lin...    lang.prothon.us...    xfree86.cvs/200...    finance.aqbanki...    ietf.smtp/1993-...    web.turbogears....    jakarta.cactus....    yellowdog.gener...    php.gtk+.genera...    org.region.indo...    hurd.l4/2005-10...    culture.religio...    apple.fink.gene...    db.mysql.window...    bluez.devel/200...    security.pgp-ba...    video.blender.d...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe