marcus
Wed, 21 Sep 2005 14:36:45 -0700
I want:To specify a simple xpath-like expression (nothing fancy, don't even require any kind of predicates (although it could be nice to have) and the only needed axis is the child axis) and feed into a streaming parser and when it hits a node matching the expression it calls a callback interface with a node for the match. That is, if the match is an element with a lot of content, the callback will be fed a dom4j element with all contents. This way I can parse large documents without having it all in memory (some parts may never be matched at all (although still parsed I guess)) while still using dom4j in a pretty "normal" way.
Is this possible? I'm open to do some coding to make it happen if someone can give some good pointers.
Thanks, /Marcus ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user