Python Paste


htmlserialize


Attributes

a XHTML_ns

'{http://www.w3.org/1999/xhtml}'

a noescape_elements

set(['style', 'script'])

a empty_elements

set(['img', 'area', 'basefont', 'frame', 'isindex', 'meta', 'param', 'hr', 'base', 'link', 'br', 'input', 'col'])

a boolean_attributes

set(['compact', 'defer', 'checked', 'nohref', 'selected', 'ismap', 'disabled', 'noshade', 'noresize', 'multiple', 'nowrap', 'declare'])

Functions

f fixtag(tag, namespaces) ...

f tostring(node, encoding='utf-8', drop_attribs=[]) ...

See the source for more information.