4Suite
™
API Documentation
►
Module
Ft
.
Xml
.
Lib
.HtmlPrettyPrinter
######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Xml/Lib/HtmlPrettyPrinter.py,v 1.12 2005/02/09 09:12:06 mbrown Exp $
Classes:
HtmlPrettyPrinter
Fields:
EMPTY_NAMESPACE
Classes
class
HtmlPrettyPrinter
(
Ft.Xml.Lib.HtmlPrinter.HtmlPrinter
)
Methods
__init__
(
self
,
stream
,
encoding
)
comment
(
self
,
data
)
endElement
(
self
,
namespaceUri
,
tagName
)
processingInstruction
(
self
,
target
,
data
)
startElement
(
self
,
namespaceUri
,
tagName
,
namespaces
,
attributes
)
Methods inherited from class
Ft.Xml.Lib.HtmlPrinter.HtmlPrinter
attribute
,
doctype
,
startDocument
,
text
Methods inherited from class
Ft.Xml.Lib.XmlPrinter.XmlPrinter
cdataSection
,
endDocument
Fields
indent
= ' '
inlineElements
= {(None, 'a'): True, (None, 'abbr'): True, (None, 'acronym'): True, (None, 'applet'): True, (None, 'b'): True, (None, 'basefont'): True, (None, 'bdo'): True, (None, 'big'): True, (None, 'button'): True, (None, 'cite'): True, ...}
noIndentElements
= {(None, 'pre'): True, (None, 'script'): True, (None, 'style'): True, (None, 'textarea'): True, (None, 'xmp'): True}
Fields
Fields
EMPTY_NAMESPACE
= None