Name

DTDHandler

Synopsis

This handler allows the application to receive some information that may be useful when using unparsed external entities. This handler is not used often.

notationDecl( name, publicId, systemId )

This method is invoked when a notation declaration is encountered. At least one of the ID parameters must be populated, and if the systemId is present and is a URL, the parser must resolve it fully before passing it to the application through this event.

unparsedEntityDecl( name, publicId, systemId, ndata )

The notation name corresponds to a notation reported by the aforementioned notationDecl event. Again, if the systemId is a URL, then the parser must fully resolve it prior to passing it to the application.

Get Python & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.