[XML-SIG] SAX with DTD

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon, 16 Jul 2001 14:57:16 +0200


> (2) I have a DTD that specifies default attributes
> (via #FIXED) of an XML document. Is there some parser
> (DOM preferred, SAX ok) in Python that can take into
> account the attributes specified in DTD?

I recommend to use the functions and classes in
xml.dom.ext.reader.Sax2, and turn validation on.

Regards,
Martin