Re: Expat - how to UseForeignDTD
I needed to set Entity Parsing, such as parser.SetParamEntityParsing( expat.XML_PARAM_ENTITY_PARSING_ALWAYS ) -- http://mail.python.org/mailman/listinfo/python-list
Expat - how to UseForeignDTD
I have a simple Kid template document: http://www.w3.org/1999/xhtml"; xmlns:py="http://purl.org/kid/ns#"; > ... (snip) This runs as expected but now I would like to load a DTD without tampering with this xml file In the expat parser __init__ after setting other handlers for parser, I h