|
startDocument(self)
called at the start of the document |
source code
|
|
|
endDocument(self)
called at the end of the document |
source code
|
|
|
startElement(self,
tag,
attrs)
called at the start of every element, tag is the name of the
element, attrs is a dictionary of the element's attributes |
source code
|
|
|
endElement(self,
tag)
called at the start of every element, tag is the name of the
element |
source code
|
|
|
characters(self,
data)
called when character data have been read, data is the string
containing the data, multiple consecutive characters() callback are
possible. |
source code
|
|
|
cdataBlock(self,
data)
called when CDATA section have been read, data is the string
containing the data, multiple consecutive cdataBlock() callback are
possible. |
source code
|
|
|
reference(self,
name)
called when an entity reference has been found |
source code
|
|
|
ignorableWhitespace(self,
data)
called when potentially ignorable white spaces have been found |
source code
|
|
|
processingInstruction(self,
target,
data)
called when a PI has been found, target contains the PI name and
data is the associated data in the PI |
source code
|
|
|
comment(self,
content)
called when a comment has been found, content contains the
comment |
source code
|
|
|
externalSubset(self,
name,
externalID,
systemID)
called when a DOCTYPE declaration has been found, name is the DTD
name and externalID, systemID are the DTD public and system
identifier for that DTd if available |
source code
|
|
|
internalSubset(self,
name,
externalID,
systemID)
called when a DOCTYPE declaration has been found, name is the DTD
name and externalID, systemID are the DTD public and system
identifier for that DTD if available |
source code
|
|
|
notationDecl(self,
name,
externalID,
systemID)
called when an NOTATION declaration has been found, name is the
notation name and externalID, systemID are the notation public and
system identifier for that notation if available |
source code
|
|
|
attributeDecl(self,
elem,
name,
type,
defi,
defaultValue,
nameList)
called when an ATTRIBUTE definition has been found |
source code
|
|
|
elementDecl(self,
name,
type,
content)
called when an ELEMENT definition has been found |
source code
|
|
|
entityDecl(self,
name,
publicId,
systemID,
notationName)
called when an unparsed ENTITY declaration has been found, name is
the entity name and publicId,, systemID are the entity public and
system identifier for that entity if available, and notationName
indicate the associated NOTATION |
source code
|
|
|
|
|
|
|
|