Table of Contents
HTMLParser
sgmllib
htmllib
xml
xml.etree.ElementTree
xml.dom
xml.dom.minidom
xml.dom.pulldom
xml.sax
xml.sax.handler
xml.sax.saxutils
xml.sax.saxutils.escape()
xml.sax.saxutils.prepare_input_source()
xml.sax.saxutils.quoteattr()
xml.sax.saxutils.unescape()
xml.sax.xmlreader
pyexpat
xml.sax.saxutils.
escape
Escape &, <, and > in a string of data.
You can escape other strings of data by passing a dictionary as the optional entities parameter. The keys and values must all be strings; each key will be replaced with its corresponding value.