Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Seek in huge xml-files [Thread Next] Re: Seek in huge xml-filesTo: NULL Date: 9/3/2008 8:51:00 PM We successfully completed the application. javax.xml.stream.Location offers a method getCharacterOffset() which does exactly what we needed. This article was quite helpful: Parsing XML documents partially with StAX http://www.ibm.com/developerworks/xml/library/x-tipstx2/index.html StAX is a very useful tool, when you don't have the memory to do it with DOM and SAX offers insufficient control. For example one can decide how to proceed in the parsing process at any time. By the way, with some mapping JiBX (http://jibx.sourceforge.net/ very recommendable) created ordinary Java objects out of the xml-data sets for us. We saved the byte offsets in the objects during the initial parsing process. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
