Ft.Xml.Lib.HtmlPrinter

Modules

StreamWriter  re     

Classes

__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'], ...}
class XmlPrinter
__init__(self, stream, encoding)
attribute(self, elementUri, elementName, name, value)
cdataSection(self, data)
comment(self, data)
doctype(self, name, publicId, systemId)
endDocument(self)
endElement(self, namespaceUri, tagName)
processingInstruction(self, target, data)
startDocument(self, version='1.0', standalone=None)
startElement(self, namespaceUri, tagName, namespaces, attributes)
text(self, text, disableEscaping=0)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Lib.XmlPrinter'
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 6 entities>
attrEntitiesQuot = <cEntityMap for 6 entities>
textEntities = <cEntityMap for 4 entities>

Data

EMPTY_NAMESPACE = None
__file__ = 'build/lib.linux-ppc-2.2/Ft/Xml/Lib/HtmlPrinter.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.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.