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
66f98b45
Commit
66f98b45
authored
Jan 26, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a number of typos found by Guido.
parent
8c071d43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/lib/xmldom.tex
Doc/lib/xmldom.tex
+4
-4
No files found.
Doc/lib/xmldom.tex
View file @
66f98b45
...
...
@@ -40,7 +40,7 @@ code. The DOM is a standard tree representation for XML data.
The Document Object Model is being defined by the W3C in stages, or
``levels'' in their terminology. The Python mapping of the API is
substantially based on the DOM Level 2 recommendation. Some aspects
of the API will only bec
a
me available in Python 2.1, or may only be
of the API will only bec
o
me available in Python 2.1, or may only be
available in particular DOM implementations.
DOM applications typically start by parsing some XML into a DOM. How
...
...
@@ -49,11 +49,11 @@ provides only limited improvements. There is a
\class
{
DOMImplementation
}
object class which provides access to
\class
{
Document
}
creation methods, but these methods were only added
in DOM Level 2 and were not implemented in time for Python 2.0. There
is also no well-defined way to access th
is function
s without an
is also no well-defined way to access th
ese method
s without an
existing
\class
{
Document
}
object. For Python 2.0, consult the
documentation for each particular DOM implementation to determine the
bootstrap procedure needed to create and initialize
\class
{
Document
}
instances.
and
\class
{
DocumentType
}
instances.
Once you have a DOM document object, you can access the parts of your
XML document through its properties and methods. These properties are
...
...
@@ -143,7 +143,7 @@ All of the components of an XML document are subclasses of
\begin{memberdesc}
[Node]
{
nodeType
}
An integer representing the node type. Symbolic constants for the
types are on the
\class
{
Node
}
object:
\constant
{
DOCUMENT
_
NODE
}
,
types are on the
\class
{
Node
}
object:
\constant
{
ELEMENT
_
NODE
}
,
\constant
{
ATTRIBUTE
_
NODE
}
,
\constant
{
TEXT
_
NODE
}
,
\constant
{
CDATA
_
SECTION
_
NODE
}
,
\constant
{
ENTITY
_
NODE
}
,
\constant
{
PROCESSING
_
INSTRUCTION
_
NODE
}
,
...
...
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