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
504bc4f3
Kaydet (Commit)
504bc4f3
authored
Eyl 11, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove mentioning of Python 2.0 limitations. Fixes #607783.
üst
d4774fb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
xmldom.tex
Doc/lib/xmldom.tex
+10
-10
No files found.
Doc/lib/xmldom.tex
Dosyayı görüntüle @
504bc4f3
...
...
@@ -40,20 +40,20 @@ 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 become available in
Python 2.1, or may only be
available in particular DOM implementations.
of the API will only become available in
future Python releases, or
may only be
available in particular DOM implementations.
DOM applications typically start by parsing some XML into a DOM. How
this is accomplished is not covered at all by DOM Level 1, and Level 2
provides only limited improvements
.
There is a
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 these methods 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
}
and
\class
{
DocumentType
}
instances
.
\class
{
Document
}
creation methods, but
no way to access an XML
reader/parser/Document builder in an implementation-independent way.
There
is also no well-defined way to access these methods without an
existing
\class
{
Document
}
object.
In Python, each DOM implementation
will provide a function
\function
{
getDOMImplementation
}
. DOM Level 3
adds a Load/Store specification, which defines an interface to the
reader, but this is not implemented in Python
.
Once you have a DOM document object, you can access the parts of your
XML document through its properties and methods. These properties are
...
...
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