RE: Keeping an XML file in memory
"Michael Kay" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <005801c7d418$9e021a30$6401a8c0@turtle> |
> 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/[email protected]