xml, minidom, ElementTree
Paul Rudin
paul.nospam at rudin.co.uk
Wed Dec 14 04:38:55 EST 2011
Ethan Furman <ethan at stoneleaf.us> writes:
> 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?
I tend to start with BeautifulSoup, and think about other things if that
doesn't work out. It might just be me, but I find it easier to get stuff
done using BeautifulSoup than either minidom or ElementTree.
More information about the Python-list
mailing list