[XML-SIG] Where is the xml.dom.ext package in current python distributions?

Paul R Brenner pbrenne1 at nd.edu
Thu Jan 11 15:17:59 CET 2007

Hello Anastasios and Fredrik,

I have searched through pyxml.sourceforge.net (thats how I found this
listserve).  I found many examples on using xml.dom.ext and the PrettyPrint
function.  However my question follows Anastasios's comments.  Where is
xml.dom.ext in the current Python distributions.  Is PyXML not the default XML
package in the normal Python distribution now.  When I visit
http://docs.python.org/modindex.html there is no reference to xml.dom.ext at
the xml or xml.dom module level.

I am using Python in a scientific grid application generating xml dom objects
that contain file structures for distributed storage.  Everything was going
well until we added machines from another campus to our computer pool and
although they are using a current Python 2.4.x there is no xml.dom.ext.  I
thought maybe since .ext is not referenced on the Python page it is an
'optional' piece of PyXML.

Fredrik Lundh wrote:
> Paul R Brenner wrote:
>> I have been using the xml.dom.ext PrettyPrint function to output my dom
>> into readable xml text files.  However on a few newer machines in our pool
>> there are more current (Python 2.4 or >) for which the .ext submodule is
>> totally missing.  More suprising is that I went to the Python documentation
>> page and found no mention of the .ext submodule of xml for any version of
>> Python.
> http://pyxml.sourceforge.net/

I was so sure that PyXML was already part of the Python distribution.
Unfortunately I can't remember where I this from. A few days ago an
OpenSwarm user brought my attention to the same issue Paul mentioned so
I realized it needs to be installed extra.

Has PyXML ever been part of the official Python distribution or were
there plans once to do so?

Probably I'm just getting old and muddle-headed.


Paul R Brenner, P.E.
Computer Science and Engineering
The University of Notre Dame

"Computers are incredibly fast, accurate, and stupid; humans are incredibly
slow, inaccurate and brilliant; together they are powerful beyond imagination."
-Albert Einstein

More information about the XML-SIG mailing list