S
smisk

xml

Provides fast XML writing utilities used by the XML serialization backends. Built on the C extension for performance.

Classes

class smisk.core.xml.XmlWriter

Streaming XML writer. Writes well-formed XML to a file-like object without buffering the entire document in memory.

start(tag, attrs=None)

Open a new XML element.

end(tag)

Close the current element.

data(text)

Write text content, escaping special characters.