Python Minidom Help

Alok Kumar alokkat at gmail.com
Mon May 5 16:00:35 EDT 2008


Hi,

I am reading a XML data from  HTTP server and giving it to parse method.

dom = parse(dataread)

It throws following error

  File "/usr/lib/python2.3/site-packages/_xmlplus/dom/minidom.py", line
1908, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.3/site-packages/_xmlplus/dom/expatbuilder.py", line
922, in parse
    fp = open(file, 'rb')

Can anyone please help?

Regards
Alok Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080505/3b28dcc2/attachment.html>


More information about the Python-list mailing list