a few more questions on XML and python

stalin woodsplitter at rocketmail.com
Fri Jan 4 08:34:59 EST 2002


Lars von Wedel <vonWedel at lfpt.rwth-aachen.de> wrote:

> [...] but I daresay that working code can eat
> > a great deal of memory and still perform better than a dysfunctional
> > collection of highly optimized fragments :)
> 
> Sure, in general, but there are a number of things about reading XML
> that can be performed using a lean SAX-style implementation, e.g.
> reading rather simple configuration files etc.

  Certainly.  I wasn't suggesting that SAX should be generally
avoided, just that a newbie to both Python and XML parsing should
probably start with DOM because it tends to be more easily
comprehensible.



More information about the Python-list mailing list