xml, minidom, ElementTree

Terry Reedy tjreedy at udel.edu
Wed Dec 14 00:01:06 EST 2011


On 12/13/2011 6:21 PM, Ethan Furman wrote:
> In the near future I will need to parse and rewrite parts of a xml files
> created by a third-party program (PrintShopMail, for the curious).
> It contains both binary and textual data.
>
> There has been some strong debate about the merits of minidom vs
> ElementTree.
>
> Recommendations?

People's reaction to the DOM interface seem quite varied, with a 
majority, perhaps, being negative. I personally would look at both 
enough to understand the basic API model to see where *I* fit.

-- 
Terry Jan Reedy




More information about the Python-list mailing list