Library
XMLWriter
XMLWriter.begintag()
XMLWriter.close()
XMLWriter.comment()
XMLWriter.dedent()
XMLWriter.dumphex()
XMLWriter.endtag()
XMLWriter.indent()
XMLWriter.newline()
XMLWriter.simpletag()
XMLWriter.stringifyattrs()
XMLWriter.write()
XMLWriter.write8bit()
XMLWriter.write_noindent()
XMLWriter.writecdata()
escape()
escape8bit()
escapeattr()
hexStr()
xmlWriter.py – Simple XML authoring class
Writes text.
Writes a bytes() sequence into the XML, escaping non-ASCII bytes. When this is read in xmlReader, the original bytes can be recovered by encoding to ‘latin-1’.
Writes text without indentation.
Writes text in a CDATA section.
Input is Unicode string.