> I have an application where I need to keep a rather large
> (currently ~40MB, can get bigger) XML file in memory. This
> document is used exclusively as a source for multiple XSLT
> transformations.
Try the Saxon TinyTree. Unlike JDOM, this doesn't allocate a Java object for
each node. The structure is optimized for XPath access, and in particular,
for a read-only tree - JDOM and similar models have extra overhead because
of the need to support updating.
Michael Kay
http://www.saxonica.com/
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)