[issue5873] Minidom: parsestring() error

2009-04-28 Thread Georg Brandl
Georg Brandl added the comment: You'll have to name your string differently; you can't have "xml" refer to both the string and the package :) Please refer to python-list or the comp.lang.python newsgroup for further usage questions. -- nosy: +georg.brandl resolution: -> invalid status

[issue5873] Minidom: parsestring() error

2009-04-28 Thread Nicolas Frantzen
New submission from Nicolas Frantzen : 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 = "hello" doc = xml.dom.minidom.parsString(xml) And here is my error trace: Traceback (most recent c