[jdom-interest] XPATH engine

Elliotte Harold elharo at metalab.unc.edu
Wed Nov 9 10:59:39 PST 2005


Jason Hunter wrote:

> If performance matters, I'd use XQuery for it.  At MarkLogic we're able 
> to get 100 XPaths per second against large data sets.  The speed comes 
> from the indexed nature of the storage (you can skip walking the tree). 
>  It's not a JDOM plugin though, it's a separate server process.

The speed gain there comes from the implementation, not the language. 
There are XQuery implementations just as slow as JDOM's XPath, and there 
are faster implementations of XPath as well. XQuery is not fundamentally 
faster or slower than XPath/XSLT.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim


More information about the jdom-interest mailing list