xml.sax.saxutils¶
A library of useful helper classes to the SAX classes, for the convenience of application and driver writers.
Functions¶
escape(data[, entities]) |
Escape &, <, and > in a string of data. |
prepare_input_source(source[, base]) |
This function takes an InputSource and an optional base URL and returns a fully resolved InputSource object ready for reading. |
quoteattr(data[, entities]) |
Escape and quote an attribute value. |
unescape(data[, entities]) |
Unescape &, <, and > in a string of data. |
Classes¶
XMLFilterBase([parent]) |
This class is designed to sit between an XMLReader and the client application’s event handlers. |
XMLGenerator([out, encoding]) |