]> granicus.if.org Git - python/commitdiff
Issue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases
authorEli Bendersky <eliben@gmail.com>
Fri, 2 Mar 2012 05:37:13 +0000 (07:37 +0200)
committerEli Bendersky <eliben@gmail.com>
Fri, 2 Mar 2012 05:37:13 +0000 (07:37 +0200)
Doc/library/xml.dom.minidom.rst

index ab5476d91f13059c33f940ada77aaa2e91621ff2..ae286b0ad95cf79ea349fd669ffce844f530ffdb 100644 (file)
 Model interface.  It is intended to be simpler than the full DOM and also
 significantly smaller.
 
+.. note::
+
+   The :mod:`xml.dom.minidom` module provides an implementation of the W3C-DOM,
+   with an API similar to that in other programming languages.  Users who are
+   unfamiliar with the W3C-DOM interface or who would like to write less code
+   for processing XML files should consider using the
+   :mod:`xml.etree.ElementTree` module instead.
+
 DOM applications typically start by parsing some XML into a DOM.  With
 :mod:`xml.dom.minidom`, this is done through the parse functions::