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
07e6c505
Commit
07e6c505
authored
Feb 23, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor adjustments, including markup corrections.
parent
447f5453
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Doc/lib/xmldom.tex
Doc/lib/xmldom.tex
+6
-5
No files found.
Doc/lib/xmldom.tex
View file @
07e6c505
...
...
@@ -90,10 +90,11 @@ the strict mapping from IDL). See section \ref{dom-conformance},
The
\module
{
xml.dom
}
contains the following functions:
\begin{funcdesc}
{
registerDOMImplementation
}{
name, factory
}
Register the
\var
{
factory
}
function with the
\var
{
name
}
. The factory
function should return an object which implements the
\code
{
DOMImplementation| interface. The factory function can either return
the same object, or a new one (e.g. if that implementation supports
Register the
\var
{
factory
}
function with the name
\var
{
name
}
. The
factory function should return an object which implements the
\class
{
DOMImplementation
}
interface. The factory function can return
the same object every time, or a new one for each call, as appropriate
for the specific implementation (e.g. if that implementation supports
some customization).
\end{funcdesc}
...
...
@@ -102,7 +103,7 @@ Return a suitable DOM implementation. The \var{name} is either
well-known, the module name of a DOM implementation, or
\code
{
None
}
. If it is not
\code
{
None
}
, imports the corresponding module and
returns a
\class
{
DOMImplementation
}
object if the import succeeds. If
no name is given, and if the environment variable
\
code
{
PYTHON
_
DOM
}
is
no name is given, and if the environment variable
\
envvar
{
PYTHON
_
DOM
}
is
set, this variable is used to find the implementation.
If name is not given, consider the available implementations to find
...
...
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