catching doctype using xml.sax -- please

Diez B. Roggisch deets at nospam.web.de
Tue Apr 25 05:25:25 EDT 2006


Sakcee wrote:

> Hi
> 
> I would really appreciate if soemone can point me to the direction. how
> can I use xml.sax to catch doctype entities.
> 
> there is a xml.sax.DTDHandler , but how should i use it?

As all other handlers:

XMLReader.setDTDHandler(handler)


Diez



More information about the Python-list mailing list