Re: xml.sax parsing elements with the same name

2010-02-08 Thread dontcare
If you are using jython, then you might also want to consider VTD-XML, which is a lot easier to use and faster than SAX, native XPath support may be useful too http;//vtd-xml.sf.net On Jan 12, 12:13 am, Stefan Behnel wrote: > amadain, 11.01.2010 20:13: > > > > > > > I have an event log with 100s

Re: xml.sax parsing elements with the same name

2010-01-15 Thread Adam Tauno Williams
On Mon, 2010-01-11 at 13:24 -0800, amadain wrote: > On Jan 11, 9:03 pm, John Bokma wrote: > > amadain writes: > > I was thinking about something like: > > self.filterIndex = 0 > > in startElement: > > if name == 'filter': > >self.filterIndex += 1 > >return > > if name == '

Re: xml.sax parsing elements with the same name

2010-01-12 Thread Stefan Behnel
amadain, 11.01.2010 20:13: I have an event log with 100s of thousands of entries with logs of the form: I am using xml.sax to parse

Re: xml.sax parsing elements with the same name

2010-01-11 Thread amadain
On Jan 11, 9:03 pm, John Bokma wrote: > amadain writes: > > On Jan 11, 7:26 pm, John Bokma wrote: > >> amadain writes: > >> > >> > uniqueId="1261124569.35725_PFS_1_1340035961"> > >> >     > >> >       > >> >           > >> >               > >> >                     > >> >               > >

Re: xml.sax parsing elements with the same name

2010-01-11 Thread John Bokma
amadain writes: > On Jan 11, 7:26 pm, John Bokma wrote: >> amadain writes: >> > > > uniqueId="1261124569.35725_PFS_1_1340035961"> >> >     >> >       >> >           >> >               >> >                     >> >               >> >           >> >           >> >               >> >    

Re: xml.sax parsing elements with the same name

2010-01-11 Thread amadain
On Jan 11, 7:26 pm, John Bokma wrote: > amadain writes: > > I have an event log with 100s of thousands of entries with logs of the > > form: > > > > uniqueId="1261124569.35725_PFS_1_1340035961"> > >     > >       > >           > >               > >                     > >               > >  

Re: xml.sax parsing elements with the same name

2010-01-11 Thread John Bokma
amadain writes: > I have an event log with 100s of thousands of entries with logs of the > form: > > uniqueId="1261124569.35725_PFS_1_1340035961"> > > > > > > > > > >

xml.sax parsing elements with the same name

2010-01-11 Thread amadain
I have an event log with 100s of thousands of entries with logs of the form: I am using xml.sax to parse the event log. The trouble w