xml.dom.minidom on os x

Miki Tebeka tebeka at cs.bgu.ac.il
Mon Mar 24 12:20:26 CET 2003

Hello Sascha,

> #!/usr/bin/env python
>  from xml.dom.minidom import parseString
>  try:
> dom3 = parseString('<myxml>Some data<empty/> some more data</myxml>')
> print "succeded"
> except:
> 	print "failed"
> has anybody an idea, why the parser does not work?
Remove the try/except from the code and you'll get a stack trace with
much more information.


More information about the Python-list mailing list