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

# A parser for XML, using the derived class as static DTD.
# Author: Sjoerd Mullender.

   
Modules
                        
re
string

   
Classes
                        
XMLParser
TestXMLParser

   
class TestXMLParser(XMLParser)
              
__init__(self)
close(self)
flush(self)
handle_cdata(self, data)
handle_comment(self, data)
handle_data(self, data)
handle_doctype(self, tag, pubid, syslit, data)
handle_entity(self, name, strval, pubid, syslit, ndata)
handle_proc(self, name, data)
handle_xml(self, encoding, standalone)
syntax_error(self, message)
unknown_charref(self, ref)
unknown_endtag(self, tag)
unknown_entityref(self, ref)
unknown_starttag(self, tag, attrs)

   
class XMLParser
              
__fixclass(self, kl)
__fixdict(self, dict)
__fixelements(self)
__init__(self)
close(self)
feed(self, data)
finish_endtag(self, tag)
finish_starttag(self, tagname, attrdict, method)
goahead(self, end)
handle_cdata(self, data)
handle_charref(self, name)
handle_comment(self, data)
handle_data(self, data)
handle_doctype(self, tag, pubid, syslit, data)
handle_endtag(self, tag, method)
handle_entityref(self, name)
handle_proc(self, name, data)
handle_starttag(self, tag, method, attrs)
handle_xml(self, encoding, standalone)
parse_attributes(self, tag, i, j)
parse_cdata(self, i)
parse_comment(self, i)
parse_doctype(self, res)
parse_endtag(self, i)
parse_proc(self, i)
parse_starttag(self, i)
reset(self)
setliteral(self, *args)
setnomoretags(self)
syntax_error(self, message)
translate_references(self, data, all=1)
unknown_charref(self, ref)
unknown_endtag(self, tag)
unknown_entityref(self, ref)
unknown_starttag(self, tag, attrs)

   
Constants
                        
attrtrans = '\000\001\002\003\004\005\006\007\010 \013\014 \016\017\020\021\022\023\024\025\026...\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377'
version = '0.2'