kid-templating.org


XHTMLSerializer


Attributes

a decl

1

a name

'title'

a balanced_blocks

False

a encoding

'utf-8'

a doctype

None

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

f __init__(self, encoding=None, decl=None, doctype=None, namespaces=None) ...

See the source for more information.