[XML-SIG] Where is xml.dom.utils?

Martin v. Loewis martin@v.loewis.de
26 Mar 2002 20:40:00 +0100


VanL <vlindberg@verio.net> writes:

> Nevertheless, some example code fails:
> 
>  >>> from xml.dom.utils import FileReader
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named utils
> 
> Where can I get that module?

It has been dropped in PyXML 0.6. If you need it, you need to install
0.5.5. However, I recommend to port it to a more recent version.  Most
likely, something like xml.dom.minidom.parse or
xml.dom.ext.reader.Sax2.From* would be the proper replacement.

Regards,
Martin