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 stefan...@behnel.de wrote: amadain, 11.01.2010 20:13: I have an event

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 j...@castleamber.com wrote: amadain mfmdev...@gmail.com writes: I was thinking about something like: self.filterIndex = 0 in startElement: if name == 'filter': self.filterIndex += 1

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: event eventTimestamp=2009-12-18T08:22:49.035 uniqueId=1261124569.35725_PFS_1_1340035961 result value=Blocked/ filters filter code=338 type=Filter_Name

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: event eventTimestamp=2009-12-18T08:22:49.035 uniqueId=1261124569.35725_PFS_1_1340035961 result value=Blocked/ filters filter code=338 type=Filter_Name diagnostic result

Re: xml.sax parsing elements with the same name

2010-01-11 Thread John Bokma
amadain mfmdev...@gmail.com writes: I have an event log with 100s of thousands of entries with logs of the form: event eventTimestamp=2009-12-18T08:22:49.035 uniqueId=1261124569.35725_PFS_1_1340035961 result value=Blocked/ filters filter code=338 type=Filter_Name

Re: xml.sax parsing elements with the same name

2010-01-11 Thread amadain
On Jan 11, 7:26 pm, John Bokma j...@castleamber.com wrote: amadain mfmdev...@gmail.com writes: I have an event log with 100s of thousands of entries with logs of the form: event eventTimestamp=2009-12-18T08:22:49.035 uniqueId=1261124569.35725_PFS_1_1340035961    result value=Blocked/

Re: xml.sax parsing elements with the same name

2010-01-11 Thread John Bokma
amadain mfmdev...@gmail.com writes: On Jan 11, 7:26 pm, John Bokma j...@castleamber.com wrote: amadain mfmdev...@gmail.com writes: event eventTimestamp=2009-12-18T08:22:49.035 uniqueId=1261124569.35725_PFS_1_1340035961    result value=Blocked/       filters           filter code=338

Re: xml.sax parsing elements with the same name

2010-01-11 Thread amadain
On Jan 11, 9:03 pm, John Bokma j...@castleamber.com wrote: amadain mfmdev...@gmail.com writes: On Jan 11, 7:26 pm, John Bokma j...@castleamber.com wrote: amadain mfmdev...@gmail.com writes: event eventTimestamp=2009-12-18T08:22:49.035 uniqueId=1261124569.35725_PFS_1_1340035961