mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Issue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases
This commit is contained in:
parent
bbe2f60b3c
commit
20293441da
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
|||
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::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue