XHTMLSerializer
The XHTMLSerializer class is accessible via the kid module.
Attributes
a empty_elements
['{http://www.w3.org/1999/xhtml}img', '{http://www.w3.org/1999/xhtml}area', '{http://www.w3.org/1999/xhtml}basefont', '{http://www.w3.org/1999/xhtml}frame', '{http://www.w3.org/1999/xhtml}isindex', '{http://www.w3.org/1999/xhtml}meta', '{http://www.w3.org/1999/xhtml}param', '{http://www.w3.org/1999/xhtml}hr', '{http://www.w3.org/1999/xhtml}base', '{http://www.w3.org/1999/xhtml}link', '{http://www.w3.org/1999/xhtml}br', '{http://www.w3.org/1999/xhtml}input', '{http://www.w3.org/1999/xhtml}col']
a elements_with_pcdata
['{http://www.w3.org/1999/xhtml}fieldset', '{http://www.w3.org/1999/xhtml}option', '{http://www.w3.org/1999/xhtml}textarea', '{http://www.w3.org/1999/xhtml}title']
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
See the source for more information.