Module for converting XML to Python object(s)?

Uche Ogbuji uche at
Mon Aug 9 16:37:23 CEST 2004

"Colin Brown" <cbrown at> wrote in message news:<41105a9c$1 at>...
> "Robert Oschler" <no_replies at fake_email_address.invalid> wrote in message
> news:otdPc.224$df.27 at
> > Has anybody seen a Python module that will take an XML document (not a
> > colossal one), and convert it to a Python nested class object?
> Also pyRXP  ref:

PyRXPU (the only useful part of PyRXP) is not really what the OP was
asking for.  It creates lists and dicts rather than actual element
structures that can be accessed using the natural vocabulary from the
XML (e.g. "print html.head.title").

Uche Ogbuji                                    Fourthought, Inc.
Perspective on XML: Steady steps spell success with Google -
Use XML namespaces with care -
Managing XML libraries -
Commentary on "Objects. Encapsulation. XML?" -
Harold's Effective XML -
A survey of XML standards -

More information about the Python-list mailing list