Hi,

I'm trying to parse some huge XML documents with dom4j (1.6.1, Jaxen
1.1b9). I'm using the approach described in the dom4j FAQ:

SAXReader reader = new SAXReader();
reader.addHandler("/rowset/row", new MyElementHandler());

then using detach() in MyElementHandler.onEnd()
For such simple XPath expressions like /rowset/row this works well, but
it doesn't work with more complex expressions like //row or
/rowset/row[id="1234"]. Isn't this implemented yet?
I found a posting from 2002 where James Strachan stated that this was on
the TODO list:
http://www.mail-archive.com/dom4j-user@lists.sourceforge.net/msg00564.html
Is this feature still on that list, or was it abandoned? Does
addHandler() use Jaxen for XPath parsing (I'm asking because AFAIK Jaxen
supports wildcards)?

Thanks,
Ralf

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to