Please note: This wiki is currently running in test mode after an attack on January 5 2013. All passwords were reset, so you will have to use the password recovery function to get a new password. To edit wiki pages, please log in first. See the wiki attack description page for more details. If you find problems, please report them to the pydotorg-www mailing list.

ElementTree and lxml:

Start here if you want to write new code for XML processing

ElementTree tutorial: http://effbot.org/zone/element.htm

lxml tutorial: http://lxml.de/tutorial.html

Python XML Processing with lxml: http://www.nmt.edu/tcc/help/pubs/pylxml

Dive into Python 3, chapter on XML processing: http://diveintopython3.ep.io/xml.html

DOM/SAX:

Start here if you need to maintain existing DOM/SAX code that uses the xml.dom and xml.sax packages, or want to process XML using these packages

Note: some of these also describe the use of PyXML, which is an outdated XML package that is no longer maintained and should not be used in new code.

Python XML FAQ: http://www.rexx.com/~dkuhlman/pyxmlfaq.html

Introduction to different XML libraries: http://diveintopython.org/xml_processing/index.html

Tutorials on XML processing with Python (last edited 2011-10-13 20:15:33 by 65)