xml.minidom and user defined entities
nick at craig-wood.com
Wed Nov 9 20:30:14 CET 2005
I'm using xml.minidom to parse some of our XML files. Some of these
have entities like "°" in which aren't understood by xml.minidom.
These give this error.
xml.parsers.expat.ExpatError: undefined entity: line 12, column 1
Does anyone know how to add entities when using xml.minidom?
I've spend some time searching the docs/code/google but I haven't
found the answer to this question!
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick
More information about the Python-list