[Tutor] XML parsing with SAX

A.T.Hofkamp a.t.hofkamp at tue.nl
Wed Oct 22 15:17:30 CEST 2008

amit sethi wrote:
> Sorry , I didn't follow the format of posting to the group. Well I am new to
> xml and python . What I basically want to do is to read elements from the
> xml which is by the way large ~2GB and read the attributes and make a
> decision as to whether i want to keep that element or not . I am told that
> xml.sax is good for reading a large xml file because it can read from a
> stream but what about writing the xml file back  Thank you for your help.

In general, we help with Python problems rather writing applications for free.

You 'll either have to start paying somebody to do the work for you (in which 
case this is the wrong place to ask), or you'll have to make your hands dirty, 
and start reading/learning/coding/experimenting to solve your problem.

When you get stuck, you can ask how to overcome that obstacle (usually by 
scaling the problem down to a small example), and we will try to find an answer.


More information about the Tutor mailing list