Ft.Xml.Lib.HtmlPrettyPrinter

Classes

class HtmlPrettyPrinter(Ft.Xml.Lib.HtmlPrinter.HtmlPrinter)
__init__(self, stream, encoding)
comment(self, data)
endElement(self, namespaceUri, tagName)
processingInstruction(self, target, data)
startElement(self, namespaceUri, tagName, namespaces, attributes)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Lib.HtmlPrettyPrinter'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
indent = ' '
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
inlineElements = {(None, 'a'): 1, (None, 'abbr'): 1, (None, 'acronym'): 1, (None, 'applet'): 1, (None, 'b'): 1, (None, 'basefont'): 1, (None, 'bdo'): 1, (None, 'big'): 1, (None, 'button'): 1, (None, 'cite'): 1, ...}
noIndentElements = {(None, 'pre'): 1, (None, 'script'): 1, (None, 'style'): 1, (None, 'textarea'): 1, (None, 'xmp'): 1}
__init__(self, stream, encoding)
attribute(self, elementUri, elementName, name, value)
doctype(self, name, publicId, systemId)
endElement(self, namespaceUri, tagName)
processingInstruction(self, target, data)
startDocument(self, version='1.0', standalone=None)
startElement(self, namespaceUri, tagName, namespaces, attributes)
text(self, data, disableEscaping=0)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Lib.HtmlPrinter'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
attrEntitiesApos = <cEntityMap for 252 entities>
attrEntitiesQuot = <cEntityMap for 252 entities>
booleanAttributes = {'checked': ['input'], 'compact': ['dl', 'ol', 'ul', 'dir', 'menu', 'li'], 'declare': ['object'], 'defer': ['script'], 'disabled': ['input', 'select', 'optgroup', 'option', 'textarea', 'button'], 'ismap': ['img', 'input'], 'multiple': ['select'], 'nohref': ['area'], 'noresize': ['frame'], 'noshade': ['hr'], ...}
forbiddenEndElements = {'area': 1, 'base': 1, 'basefont': 1, 'br': 1, 'col': 1, 'frame': 1, 'hr': 1, 'img': 1, 'input': 1, 'isindex': 1, ...}
noEscapeElements = {'script': 1, 'style': 1}
textEntities = <cEntityMap for 251 entities>
uriAttributes = {'action': ['form'], 'background': ['body'], 'cite': ['blockquote', 'del', 'ins', 'q'], 'classid': ['object'], 'codebase': ['applet', 'object'], 'data': ['object'], 'href': ['a', 'area', 'base', 'link'], 'longdesc': ['frame', 'iframe', 'img'], 'profile': ['head'], 'src': ['frame', 'iframe', 'img', 'input', 'script'], ...}

Data

EMPTY_NAMESPACE = None
__file__ = 'build/lib.linux-ppc-2.2/Ft/Xml/Lib/HtmlPrettyPrinter.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Xml.Lib.HtmlPrettyPrinter'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.