Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: boris Newsgroups: comp.lang.java.programmer Subject: large xml file... Date: Mon, 22 Aug 2011 20:05:02 -0400 Organization: Aioe.org NNTP Server Lines: 19 Message-ID: NNTP-Posting-Host: Ke8UCN5oorh7H0A48Bcxtw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110704 Icedove/3.0.11 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7302 hi all, I need to process large xml file and dump some documents to a different file based on content of some elements. let's say I need to check content of and dump the whole to a different file: ... etc I'm trying to do this using sax. Are there any examples how to do this? Is using sax ok for this task? thanks.