Parsing unicode (devanagari) text with xml.dom.minidom

"Martin v. Löwis" martin at v.loewis.de
Sun Mar 8 10:49:20 CET 2009


> For the described problem, maybe. But certainly not for the application.
> The background was parsing the XML dump of an entire web site, which I
> would expect to be larger than what minidom is designed to handle
> gracefully. Switching to cElementTree before major code gets written is
> almost certainly a good idea here.

I think minidom is designed to handle the very same documents taht
cElementTree is designed to handle (namely, documents that fit into
memory).

Regards,
Martin



More information about the Python-list mailing list