Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
07e6c505
Kaydet (Commit)
07e6c505
authored
Şub 23, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor adjustments, including markup corrections.
üst
447f5453
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
xmldom.tex
Doc/lib/xmldom.tex
+6
-5
No files found.
Doc/lib/xmldom.tex
Dosyayı görüntüle @
07e6c505
...
@@ -90,10 +90,11 @@ the strict mapping from IDL). See section \ref{dom-conformance},
...
@@ -90,10 +90,11 @@ the strict mapping from IDL). See section \ref{dom-conformance},
The
\module
{
xml.dom
}
contains the following functions:
The
\module
{
xml.dom
}
contains the following functions:
\begin{funcdesc}
{
registerDOMImplementation
}{
name, factory
}
\begin{funcdesc}
{
registerDOMImplementation
}{
name, factory
}
Register the
\var
{
factory
}
function with the
\var
{
name
}
. The factory
Register the
\var
{
factory
}
function with the name
\var
{
name
}
. The
function should return an object which implements the
factory function should return an object which implements the
\code
{
DOMImplementation| interface. The factory function can either return
\class
{
DOMImplementation
}
interface. The factory function can return
the same object, or a new one (e.g. if that implementation supports
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).
some customization).
\end{funcdesc}
\end{funcdesc}
...
@@ -102,7 +103,7 @@ Return a suitable DOM implementation. The \var{name} is either
...
@@ -102,7 +103,7 @@ Return a suitable DOM implementation. The \var{name} is either
well-known, the module name of a DOM implementation, or
well-known, the module name of a DOM implementation, or
\code
{
None
}
. If it is not
\code
{
None
}
, imports the corresponding module and
\code
{
None
}
. If it is not
\code
{
None
}
, imports the corresponding module and
returns a
\class
{
DOMImplementation
}
object if the import succeeds. If
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.
set, this variable is used to find the implementation.
If name is not given, consider the available implementations to find
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