module documentation

Undocumented

Function to_html_string Undocumented
Function to_xhtml_string Undocumented
Constant HTML_EMPTY Undocumented
Constant RE_AMP Undocumented
Function _escape_attrib Undocumented
Function _escape_attrib_html Undocumented
Function _escape_cdata Undocumented
Function _raise_serialization_error Undocumented
Function _serialize_html Undocumented
Function _write_html Undocumented
def to_html_string(element): (source)

Undocumented

def to_xhtml_string(element): (source)

Undocumented

HTML_EMPTY = (source)

Undocumented

Value
set(HTML_EMPTY)
RE_AMP = (source)

Undocumented

Value
re.compile(r'&(?!(?:#[0-9]+|#x[0-9a-f]+|[0-9a-z]+);)',
           re.I)
def _escape_attrib(text): (source)

Undocumented

def _escape_attrib_html(text): (source)

Undocumented

def _escape_cdata(text): (source)

Undocumented

def _raise_serialization_error(text): (source)

Undocumented

def _serialize_html(write, elem, format): (source)

Undocumented

def _write_html(root, format='html'): (source)

Undocumented