Re: Python DTD parser?
[email protected] (L Peter Deutsch) Sat, 3 Apr 2010 16:58:57 -0700 (PDT)
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Message-ID | <[email protected]> |
> Are you attempting to only parse the DTD itself, or validate a document > according to the DTD? Only the former. > If the former, xml.parsers.expat can be made to serve this purpose. Thanks very much. I just now read the xml.parsers.expat documentation, and I see the callbacks that correspond to the callbacks from the PyXML DTD parser. I think I was using the PyXML parser because that's what Stefan Behnel's dtd2py used, which was the starting point for my current project; but in any case, I see no reason to use it any longer. Sorry to have taken your time for this. L Peter Deutsch _______________________________________________ XML-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/xml-sig