procedure setDTDHandler(const handler : IDTDHandler);
Allow an application to register a DTD event handler.If the application does not register a DTD handler, all DTD events reported by the SAX parser will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.
function getDTDHandler() : IDTDHandler;
Return the current DTD handler.procedure setContentHandler(const handler : IContentHandler);
Allow an application to register a content event handler.If the application does not register a content handler, all content events reported by the SAX parser will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.
function getContentHandler() : IContentHandler;
Return the current content handler.ContentHandler
Extension property to get and set the ContentHandler
property ContentHandler: IContentHandler
read getContentHandler write setContentHandler
DTDHandler
Extension property to get and set the DTDHandler
property DTDHandler: IDTDHandler
read getDTDHandler write setDTDHandler