module xmlhelper.xml_utils

Short summary

module pyrsslocal.xmlhelper.xml_utils

parsing XML

source on GitHub

Functions

function

truncated documentation

escape

html_escape

Escapes any French character with an accent.

html_unescape

Removes HTML or XML character references and entities from a text string. keep &, >, …

Documentation

parsing XML

source on GitHub

pyrsslocal.xmlhelper.xml_utils.escape(s)[source]
Parameters

s – string to escape

Returns

escaped string

source on GitHub

pyrsslocal.xmlhelper.xml_utils.html_escape(text)[source]

Escapes any French character with an accent.

source on GitHub

pyrsslocal.xmlhelper.xml_utils.html_unescape(text)[source]

Removes HTML or XML character references and entities from a text string. keep &, >, < in the source code. from Fredrik Lundh.

source on GitHub