"drop-in" DOM replacement for minidom?

Paul Miller paul at fxtech.com
Fri Aug 15 15:44:08 CEST 2003

>>Has someone done a more efficient minidom replacement module that we can
>>just drop in? Preferrably written in C?
>I'm curious how DOM dependent you really are. I.e., what minidom methods do you really use?
>Can you assume that you are dealing with valid (error-free) XML as input?

Yes, it is assumed to be valid. We don't even use a DTD. But we use the DOM
to point to later nodes in the tree by following references in nodes higher
in the tree.

But, building a sparse object model initially and resolving references
later might be the right solution.

More information about the Python-list mailing list