Re: xml.minidom and user defined entities

2005-11-09 Thread Nick Craig-Wood
Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Nick Craig-Wood wrote: > > > 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. > > ° is not a standard entity in XML (see below). No probably not... > > These gi

Re: xml.minidom and user defined entities

2005-11-09 Thread Fredrik Lundh
Nick Craig-Wood wrote: > 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. ° is not a standard entity in XML (see below). > These give this error. > > xml.parsers.expat.ExpatError: undefined entity: line 12,

xml.minidom and user defined entities

2005-11-09 Thread Nick Craig-Wood
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 spen