XMLSerializer
The XMLSerializer class is accessible via the kid.serialization module.
Attributes
a namespaces
{'http://purl.org/atom/ns#': 'atom', 'http://purl.org/rss/1.0/': 'rss', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#': 'rdf', 'http://www.w3.org/1999/xhtml': 'html', 'http://www.w3.org/XML/1998/namespace': 'xml'}
Methods
f generate(self, stream, encoding=None, fragment=0) ...
Serializes an event stream to bytes of the specified encoding.
This function yields an encoded string over and over until the stream is exhausted.
See the source for more information.