sgmllib
index
/usr/lib/python1.5/sgmllib.py
 

# A parser for SGML, using the derived class as static DTD.

   
Modules
                        
re
string

   
Classes
                        
SGMLParser
TestSGMLParser

   
class SGMLParser
              
__init__(self, verbose=0)
close(self)
feed(self, data)
finish_endtag(self, tag)
finish_shorttag(self, tag, data)
finish_starttag(self, tag, attrs)
goahead(self, end)
handle_charref(self, name)
handle_comment(self, data)
handle_data(self, data)
handle_endtag(self, tag, method)
handle_entityref(self, name)
handle_pi(self, data)
handle_starttag(self, tag, method, attrs)
parse_comment(self, i)
parse_endtag(self, i)
parse_pi(self, i)
parse_starttag(self, i)
report_unbalanced(self, tag)
reset(self)
setliteral(self, *args)
setnomoretags(self)
unknown_charref(self, ref)
unknown_endtag(self, tag)
unknown_entityref(self, ref)
unknown_starttag(self, tag, attrs)

   
class TestSGMLParser(SGMLParser)
              
__init__(self, verbose=0)
close(self)
flush(self)
handle_comment(self, data)
handle_data(self, data)
unknown_charref(self, ref)
unknown_endtag(self, tag)
unknown_entityref(self, ref)
unknown_starttag(self, tag, attrs)