ElementTree and DTDs

Stefan Behnel stefan_ml at behnel.de
Fri May 16 05:47:03 EDT 2008


J. Pablo Fernández wrote:
> Is ElementTree supposed to load DTDs?

AFAIR, you have to provide entities by hand.


> Or is there another library that would handle DTDs correctly,
> performing entity replacements?

http://codespeak.net/lxml
http://codespeak.net/lxml/parsing.html#parser-options

Stefan



More information about the Python-list mailing list