Henning Storhaug wrote:
> I took a peek into StAX - seems to be excellent for known schema SAX
> cases, and it gives you writing too. It does not give me the language
> binding though.
What I meant is to use StAX in conjunction with JAXB, which would allow
you to take a subtree and bind it to Java objects, allowing you to
stream as a whole but do a random access for a subtree.
> A solution to this would make JAXB more versatile and perhaps even worth
> an article :-)
I think the pull-parser sample does just that.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com