diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-22 20:47:57 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-22 20:47:57 (GMT) |
commit | da4b5b82a3b2ec27f9112cc0338a3b20f502b892 (patch) | |
tree | 8b3d92c55ba0efb044a1c723932ddb3fdcc71bb7 /Doc/library/xml.dom.minidom.rst | |
parent | 4b88d6c6642450240a9dc22e6efbdc69baf890dd (diff) | |
download | cpython-da4b5b82a3b2ec27f9112cc0338a3b20f502b892.zip cpython-da4b5b82a3b2ec27f9112cc0338a3b20f502b892.tar.gz cpython-da4b5b82a3b2ec27f9112cc0338a3b20f502b892.tar.bz2 |
#11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
Diffstat (limited to 'Doc/library/xml.dom.minidom.rst')
-rw-r--r-- | Doc/library/xml.dom.minidom.rst | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index ae286b0..b512d7e 100644 --- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -1,8 +1,8 @@ -:mod:`xml.dom.minidom` --- Lightweight DOM implementation -========================================================= +:mod:`xml.dom.minidom` --- Minimal DOM implementation +===================================================== .. module:: xml.dom.minidom - :synopsis: Lightweight Document Object Model (DOM) implementation. + :synopsis: Minimal Document Object Model (DOM) implementation. .. moduleauthor:: Paul Prescod <paul@prescod.net> .. sectionauthor:: Paul Prescod <paul@prescod.net> .. sectionauthor:: Martin v. Löwis <martin@v.loewis.de> @@ -11,17 +11,11 @@ -------------- -:mod:`xml.dom.minidom` is a light-weight implementation of the Document Object -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. +:mod:`xml.dom.minidom` is a minimal implementation of the Document Object +Model interface, with an API similar to that in other languages. It is intended +to be simpler than the full DOM and also significantly smaller. Users who are +not already proficient with the DOM should consider using the +:mod:`xml.etree.ElementTree` module for their XML processing instead DOM applications typically start by parsing some XML into a DOM. With :mod:`xml.dom.minidom`, this is done through the parse functions:: |