New submission from Nicolas Frantzen <n.frant...@gmail.com>: Hi,
I'm pretty new to the community but I get an error using the minidom parseString() method. Here is my code (ulta simple!): import xml.dom.minidom xml = "<tag>hello</tag>" doc = xml.dom.minidom.parsString(xml) And here is my error trace: Traceback (most recent call last): File "C:\test.py", line 6, in <module> doc = xml.dom.minidom.parsString(xml) AttributeError: 'str' object has no attribute 'dom' I get this error no what string I gave it. I use python 2.6 (latest stable release). Can someone point in the right direction...google has not been very helpful. Thanks! Nico ---------- components: XML messages: 86776 nosy: naf305 severity: normal status: open title: Minidom: parsestring() error type: crash versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com