PyDocs

Nav

Structured Markup Processing Tools

xmlparser.UseForeignDTD

  • xmlparser.UseForeignDTD([flag])
Calling this with a true value for flag (the default) will cause Expat to call the ExternalEntityRefHandler with None for all arguments to allow an alternate DTD to be loaded. If the document does not contain a document type declaration, the ExternalEntityRefHandler will still be called, but the StartDoctypeDeclHandler and EndDoctypeDeclHandler will not be called.
0 Examples
No examples for xml.parsers.expat/xmlparser.UseForeignDTD.
See Also
No see-alsos for xml.parsers.expat/xmlparser.UseForeignDTD
0 Notes
No notes for xmlparser.UseForeignDTD