diff options
author | Fred Drake <fdrake@acm.org> | 2001-02-23 19:15:56 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-02-23 19:15:56 (GMT) |
commit | 07e6c505ad76a7d55867775057a580e4d24a9931 (patch) | |
tree | 4d4d625f0b3b2ad9e443947f148f7e0842bafa9f /Doc/lib | |
parent | 447f5453222546520e664d5664d09d77289635ae (diff) | |
download | cpython-07e6c505ad76a7d55867775057a580e4d24a9931.zip cpython-07e6c505ad76a7d55867775057a580e4d24a9931.tar.gz cpython-07e6c505ad76a7d55867775057a580e4d24a9931.tar.bz2 |
Minor adjustments, including markup corrections.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/xmldom.tex | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/lib/xmldom.tex b/Doc/lib/xmldom.tex index 87070b9..9aa84a8 100644 --- a/Doc/lib/xmldom.tex +++ b/Doc/lib/xmldom.tex @@ -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 |