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
25211f57
Kaydet (Commit)
25211f57
authored
Tem 05, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added more information on the differences between the htmllib and HTMLParser
modules.
üst
5fe2c139
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
libhtmllib.tex
Doc/lib/libhtmllib.tex
+6
-0
libhtmlparser.tex
Doc/lib/libhtmlparser.tex
+7
-1
libsgmllib.tex
Doc/lib/libsgmllib.tex
+3
-2
No files found.
Doc/lib/libhtmllib.tex
Dosyayı görüntüle @
25211f57
...
...
@@ -70,6 +70,12 @@ handlers for all HTML 2.0 and many HTML 3.0 and 3.2 elements.
\begin{seealso}
\seemodule
{
HTMLParser
}{
Alternate HTML parser that offers a slightly
lower-level view of the input, but is
designed to work with XHTML, and does not
implement some of the SGML syntax not used in
``HTML as deployed'' and which isn't legal
for XHTML.
}
\seemodule
{
htmlentitydefs
}{
Definition of replacement text for HTML
2.0 entities.
}
\seemodule
{
sgmllib
}{
Base class for
\class
{
HTMLParser
}
.
}
...
...
Doc/lib/libhtmlparser.tex
Dosyayı görüntüle @
25211f57
...
...
@@ -6,7 +6,9 @@
This module defines a class
\class
{
HTMLParser
}
which serves as the
basis for parsing text files formatted in HTML
\index
{
HTML
}
(HyperText
Mark-up Language) and XHTML.
\index
{
XHTML
}
Mark-up Language) and XHTML.
\index
{
XHTML
}
Unlike the parser in
\refmodule
{
htmllib
}
, this parser is not based on the SGML parser in
\refmodule
{
sgmllib
}
.
\begin{classdesc}
{
HTMLParser
}{}
...
...
@@ -15,6 +17,10 @@ The \class{HTMLParser} class is instantiated without arguments.
An HTMLParser instance is fed HTML data and calls handler functions
when tags begin and end. The
\class
{
HTMLParser
}
class is meant to be
overridden by the user to provide a desired behavior.
Unlike the parser in
\refmodule
{
htmllib
}
, this parser does not check
that end tags match start tags or call the end-tag handler for
elements which are closed implicitly by closing an outer element.
\end{classdesc}
...
...
Doc/lib/libsgmllib.tex
Dosyayı görüntüle @
25211f57
...
...
@@ -10,8 +10,9 @@ This module defines a class \class{SGMLParser} which serves as the
basis for parsing text files formatted in SGML (Standard Generalized
Mark-up Language). In fact, it does not provide a full SGML parser
--- it only parses SGML insofar as it is used by HTML, and the module
only exists as a base for the
\refmodule
{
htmllib
}
\refstmodindex
{
htmllib
}
module.
only exists as a base for the
\refmodule
{
htmllib
}
module. Another
HTML parser which supports XHTML and offers a somewhat different
interface is available in the
\refmodule
{
HTMLParser
}
module.
\begin{classdesc}
{
SGMLParser
}{}
...
...
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