>> I'm working on a script to download and parse a web page, and it
>> includes xml symbol notation, such as ' for the ' character.  Does
>> anyone know of a pre-existing python script/lib to convert the xml
>> notation back to the actual symbol it represents?
> 
> Try the htmlentitydefs module.

That won't help: this is a character reference, not an entity reference.
htmlentitydefs only contains the definitions of entities.

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to