Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7302

large xml file...

From boris <boris@localhost.domain>
Newsgroups comp.lang.java.programmer
Subject large xml file...
Date 2011-08-22 20:05 -0400
Organization Aioe.org NNTP Server
Message-ID <j2uqp4$n8h$1@speranza.aioe.org> (permalink)

Show all headers | View raw


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 <text3> and dump the whole <doc> to 
a different file:

<doc>
	<text1>
	<text2>
	<text3>  ... etc

</doc>

I'm trying to do this using sax. Are there any examples how to do this?
Is using sax ok for this task?
thanks.

	

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

large xml file... boris <boris@localhost.domain> - 2011-08-22 20:05 -0400
  Re: large xml file... Ian Shef <invalid@avoiding.spam> - 2011-08-23 00:43 +0000
    Re: large xml file... boris <boris@localhost.domain> - 2011-08-22 20:53 -0400
      Re: large xml file... boris <boris@localhost.domain> - 2011-08-22 20:55 -0400
        Re: large xml file... Ian Shef <invalid@avoiding.spam> - 2011-08-23 19:48 +0000
  Re: large xml file... Arne Vajhøj <arne@vajhoej.dk> - 2011-08-22 21:59 -0400
    Re: large xml file... boris <boris@localhost.localdomain> - 2011-08-24 14:40 -0400
      Re: large xml file... Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-24 18:59 +0000
      Re: large xml file... Arne Vajhøj <arne@vajhoej.dk> - 2011-08-24 19:10 -0400
        Re: large xml file... Stanimir Stamenkov <s7an10@netscape.net> - 2011-08-25 07:57 +0300
          Re: large xml file... RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-08-25 10:39 +0100
            Re: large xml file... Stanimir Stamenkov <s7an10@netscape.net> - 2011-08-26 08:47 +0300

csiph-web