[Tutor] DOM using python

Kent Johnson kent37 at tds.net
Wed Aug 30 12:41:02 CEST 2006


devayani barve wrote:
> Hi all,
> I'm using python 2.3;
> I want to learn dom implementation in python right from the very basics
> do i need to install pyxml or anything else?

The standard Python install includes a simple DOM implementation in the 
xml.dom packages. PyXML adds more capabilities.

If you are just starting and don't specifically require DOM, you might 
want to consider something else. Many people (including me) prefer to 
use a more Pythonic XML processing package. ElementTree is very popular 
and is included in the standard library as of Python 2.5 but there are 
many others as well.
http://effbot.org/zone/element.htm
http://docs.python.org/dev/whatsnew/modules.html#SECTION0001420000000000000000

Kent



More information about the Tutor mailing list