[Python-Dev] Fixing the XML batteries
Bill Janssen
janssen at parc.com
Fri Dec 9 20:33:17 CET 2011
Xavier Morel <python-dev at masklinn.net> wrote:
> On 2011-12-09, at 19:15 , Bill Janssen wrote:
> > I use ElementTree for parsing valid XML, but minidom for producing it.
> Could you expand on your reasons to use minidom for producing XML?
Inertia, I guess. I tried that first, and it seems to work.
I tend to use html5lib and/or BeautifulSoup instead of ElementTree, and
that's mainly because I find the documentation for ElementTree is
confusing and partial and inconsistent. Having various undated but
obsolete tutorials and documentation still up on effbot.org doesn't
help.
Bill
More information about the Python-Dev
mailing list