Hello! Actually there is also a StAX parser (http://en.wikipedia.org/wiki/StAX) which is faster when SAX and allows writing. In JDK 6 apart of StAX there is JAXB which is a perfect combination to parse a huge files. You can go through the XML fie using StAX until the element you are interested in and unmarshall it using JAXB to POJO object.
Cheers, Dmitry _______________________________________________ Biojava-l mailing list - Biojava-l@lists.open-bio.org http://lists.open-bio.org/mailman/listinfo/biojava-l