[Biojava-l] SAX, DOM, XPath and Flat files

Dmitry Repchevsky dmitry.repchevski at bsc.es
Wed Nov 28 14:49:23 UTC 2007


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



More information about the Biojava-l mailing list