[XML-SIG] XML processing

John W. Shipman john at nmt.edu
Sat Feb 14 02:06:29 CET 2009

On Fri, 13 Feb 2009, Neil Munro wrote:

| I'm a final year university student in the UK and I've chosen
| python as my language of choice for implementing my desired solution...
| ...if someone can poin me to tutorials and answer questions on them

Here's some documentation for my Python XML tool of choice.  I'll
be happy to answer questions.


I avoided this approach, Fredrik Lundh's ElementTree model, for
some time because of its differences from DOM, but what won my
over was screaming speed.  After I slurped a 500KB file into
memory in about 300msec, I was a convert.

The last section of the above document contains my adaptation of
Fredrik Lundh's builder.py module, which makes the construction
of XML so very easy.  I use it for all my new dynamic Web and
other XML generation tasks now.

This document does not discuss the lxml package's toolset for the
equivalent of SAX (when the document doesn't fit in memory); for
that, refer to the main site:


Best regards,
John Shipman (john at nmt.edu), Applications Specialist, NM Tech Computer Center,
Speare 119, Socorro, NM 87801, (505) 835-5950, http://www.nmt.edu/~john
   ``Let's go outside and commiserate with nature.''  --Dave Farber

More information about the XML-SIG mailing list