Python xml.sax.saxutils Functions

EditRocket provides the following information on xml.sax.saxutils functions in the Python source code builder.

escape(data[, entities]) - Escape "&", "<", and ">" in a string of data.

prepare_input_source(source[, base]) - This function takes an input source and an optional base URL and returns a fully resolved InputSource object ready for reading.

quoteattr(data[, entities]) - Similar to escape(), but also prepares data to be used as an attribute value.

unescape(data[, entities]) - Unescape "&amp;", "&lt;", and "&gt;" in a string of data.