xml.sax.saxutils.XMLGenerator

class xml.sax.saxutils.XMLGenerator(out=None, encoding='iso-8859-1')[source]

Methods

__init__([out, encoding])
_qname(name) Builds a qualified name from a (ns_url, localname) pair
characters(content)
endDocument()
endElement(name)
endElementNS(name, qname)
endPrefixMapping(prefix)
ignorableWhitespace(content)
processingInstruction(target, data)
setDocumentLocator(locator) Called by the parser to give the application a locator for locating the origin of document events.
skippedEntity(name) Receive notification of a skipped entity.
startDocument()
startElement(name, attrs)
startElementNS(name, qname, attrs)
startPrefixMapping(prefix, uri)