xml.dom.minidom - parseString - How to avoid ExpatError?

Paul Dale pd at traxon.com
Fri Oct 28 10:22:24 CEST 2005


Hi Greg,

Not really an answer to your question but I've found 4Suite ( 
http://4suite.org/index.xhtml ) quite useful for my XML work and the 
articles linked to from there authored by Uche Ogbuji to be quite 
informative.

Best,

Paul

Gregory Piñero wrote:

> Thanks, John.  That was all very helpful.  It looks like one option 
> for me would be to put cdata[ around my text with all the weird 
> characters.  Otherwise running it through on of the SAX utilities 
> before parsing might work.
>
> I wonder if the sax utilities would give me a performance hit.  I have 
> 6000 xml files to parse at 100KB each.
>
> -Greg
>



More information about the Python-list mailing list