PyDocs

Nav

Structured Markup Processing Tools

ContentHandler

Interface for receiving logical document content events.

This is the main callback interface in SAX, and the one most
important to applications. The order of events in this interface
mirrors the order of the information in the document.
Members of ContentHandler

c

characters
Receive notification of character data.

e

endDocument
Receive notification of the end of a document.
endElement
Signals the end of an element in non-namespace mode.
endElementNS
Signals the end of an element in namespace mode.
endPrefixMapping
End the scope of a prefix-URI mapping.

i

ignorableWhitespace
Receive notification of ignorable whitespace in element content.

p

processingInstruction
Receive notification of a processing instruction.

s

setDocumentLocator
Called by the parser to give the application a locator for locating the origin of document events.
skippedEntity
Receive notification of a skipped entity.
startDocument
Receive notification of the beginning of a document.
startElement
Signals the start of an element in non-namespace mode.
startElementNS
Signals the start of an element in namespace mode.
startPrefixMapping
Begin the scope of a prefix-URI Namespace mapping.
0 Examples
No examples for xml.sax.handler/ContentHandler.
See Also
No see-alsos for xml.sax.handler/ContentHandler
0 Notes
No notes for ContentHandler