nice example for using a native xml database. But at the start you were talking about DOM/JDOM using too much memory for the processing you wanted to do in Java. Then you store the xml in the DB and retrieve it later as a JDOM document. I assume then you did your processing. How can that save you memory. Or did you in your specific case only retrieve part of the document (by limiting it with xpath) as opposed to the whole document?