[Python-Dev] Proposed contribution to the library: PAX (another XML library)

Fredrik Lundh fredrik@pythonware.com
Mon, 30 Dec 2002 11:25:27 +0100


Lalo Martins wrote:

> PAX - the "Pythonic API for XML" - is a XML-handling library.
>=20
> Like with DOM, you're supposed to first parse the whole stream into =
the
> internal representation, and then operate on it.
>=20
> What distinguishes PAX is that its implementation is python-oriented; =
you
> iterate trough child nodes via the normal ways (for, getitem, and in =
2.2+,
> an iterator), the attributes are dictionary-based, etc.

how is this different from ElementTrees or all the other light-weight
DOM variants out there?

how much memory does it use, compared to minidom and the pyxml
tools?

how fast is it (compared to the same tools?  compared to more
optimized tools such as libxml and henry spencer's stuff?)

(I think the right approach would be to add it to the xml-sig =
distribution
first, and move it into the core only when you have more than a dozen
users...)

</F>