Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
564e4d8d
Commit
564e4d8d
authored
Jan 22, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#11379: merge with 3.2.
parents
a3bdce8c
da4b5b82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
16 deletions
+11
-16
Doc/library/xml.dom.minidom.rst
Doc/library/xml.dom.minidom.rst
+8
-14
Lib/xml/dom/minidom.py
Lib/xml/dom/minidom.py
+3
-2
No files found.
Doc/library/xml.dom.minidom.rst
View file @
564e4d8d
: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::
...
...
Lib/xml/dom/minidom.py
View file @
564e4d8d
"""
\
minidom.py -- a lightweight DOM implementation.
"""Simple implementation of the Level 1 DOM.
Namespaces and other minor Level 2 features are also supported.
parse("foo.xml")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment