SAX ContentHandler / nbsp ?
gregory_wilson at my-deja.com
gregory_wilson at my-deja.com
Wed Jan 10 10:48:44 EST 2001
I'm trying to build simple filter for some legacy
HTML by deriving from xml.sax.ContentHandler.
Right now, it dies when it hits the " "
entity. What is the simplest way to handle
this? Do I need an explicit DTD? Can I register
entities with the parser w/out a DTD? Can I build
an error handler that'll trap unknown entities
and tell the parser "never mind, it's OK"?
Thanks,
Greg
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list