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
2e63dbe9
Kaydet (Commit)
2e63dbe9
authored
Eyl 15, 2006
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- fix module name in links in formatted documentation
- minor markup cleanup
üst
77aad9a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
25 deletions
+14
-25
libetree.tex
Doc/lib/libetree.tex
+14
-25
No files found.
Doc/lib/libetree.tex
Dosyayı görüntüle @
2e63dbe9
\section
{
\module
{
elementtree
}
--- The xml.etree.ElementTree Module
}
\declaremodule
{
standard
}{
xml.etree.
elementt
ree
}
\section
{
\module
{
xml.etree.ElementTree
}
--- The ElementTree XML API
}
\declaremodule
{
standard
}{
xml.etree.
ElementT
ree
}
\moduleauthor
{
Fredrik Lundh
}{
fredrik@pythonware.com
}
\modulesynopsis
{
This module provides implementations
of the Element and ElementTree types, plus support classes.
\modulesynopsis
{
Implementation of the ElementTree API.
}
A C version of this API is available as xml.etree.cElementTree.
}
\versionadded
{
2.5
}
\subsection
{
Overview
\label
{
elementtree-overview
}}
The Element type is a flexible container object, designed to store
hierarchical data structures in memory. The type can be described as a
cross between a list and a dictionary.
Each element has a number of properties associated with it:
\begin{itemize}
\item
{}
a tag which is a string identifying what kind of data
this element represents (the element type, in other words).
\item
{}
a number of attributes, stored in a Python dictionary.
\item
{}
a text string.
\item
{}
an optional tail string.
\item
{}
a number of child elements, stored in a Python sequence
\begin{itemize}
\item
a tag which is a string identifying what kind of data
this element represents (the element type, in other words).
\item
a number of attributes, stored in a Python dictionary.
\item
a text string.
\item
an optional tail string.
\item
a number of child elements, stored in a Python sequence
\end{itemize}
To create an element instance, use the Element or SubElement factory
functions.
The
ElementTree
class can be used to wrap an element
The
\class
{
ElementTree
}
class can be used to wrap an element
structure, and convert it from and to XML.
A C implementation of this API is available as
\module
{
xml.etree.cElementTree
}
.
\subsection
{
Functions
\label
{
elementtree-functions
}}
...
...
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