Convert xml symbol notation

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat Apr 7 01:23:07 EDT 2007


dumbkiwi wrote:

> 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.

--
Gabriel Genellina




More information about the Python-list mailing list