[jdom-interest] Re: Using JDOM and LARGE XML Files ...

Jon Baer jonbaer at digitalanywhere.com
Thu Jan 11 22:31:27 PST 2001

Thank you for pointing this out, great place to start!  Sounds exactly like what I
need to do, will post any results here.

- Jon

Joseph Bowbeer wrote:

> If you want to eliminate or prune elements prior to processing, you can
> write your own XMLFilter (SAX2) and assign it to your SAXBuilder before
> you build your Document.
> XMLFilter filter = new MyFilter();
> builder.setXMLFilter(filter);
> Document doc = builder.build(in);
> Check out the samples in jdom/samples/sax.
> Writing an XMLFilter is a little easier than writing your own SAX
> handler, and you'll be able to use the standard JDOM API.
> Jon Baer <jonbaer at digitalanywhere.com> wrote:
> > I am in the middle of working some that requires building an XML
> object
> > stack and parsing and I would like to use JDOM if it makes sense.  The
> > XML files are pretty large (about 400k at most) and I was originally
> > going to try and create a dumb SAX handler instead but Id like to use
> > JDOM instead because Id like to query it.
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list