Index of the kid module
-
m
kid
...
- Pythonic, XML Templating
- a __email__ ...
- a output_methods ...
- a KID_XMLNS ...
-
C
BaseTemplate
...
- Base class for compiled Templates.
- a serializer ...
- f pull ... - Returns an iterator over the items in this template.
- f defined ...
- f serialize ... - Execute a template and return a single string.
- f transform ... - Execute the template and apply any match transformations.
- f content ...
- f value_of ...
- f __iter__ ...
- f write ... - Execute template and write output to file.
- f __init__ ... - Initialize a template with instance attributes specified by keyword arguments.
- f initialize ...
- f generate ... - Execute template and generate serialized output incrementally.
- f __unicode__ ...
- f load_template ... - Bypass import machinery and load a template module directly.
- f Template ... - Get a Template class quickly given a module name, file, or string.
- f enable_import ... - Enable the kid module loader and import hooks.
- f import_template ... - Import template by name.
-
m
namespace
...
-
C
Namespace
...
- f __getitem__ ...
- f __equals__ ...
- f qname ...
- f __init__ ...
- f __unicode__ ...
- f clarkname ...
-
C
Namespace
...
-
m
filter
...
- Kid tranformations
- a START ...
- a generators ...
- a XML_DECL ...
- f xinclude_filter ...
- f apply_matches ...
- f transform_filter ...
-
m
serialization
...
- Infoset serialization formats (XML, XHTML, HTML, etc)
- a doctypes ...
-
C
XMLSerializer
...
- a balanced_blocks ...
- a cdata_elements ...
- a strip_whitespace ...
- a encoding ...
- a doctype ...
- a namespaces ...
- f can_be_empty_element ...
- f escape_cdata ... - Escape character data.
- f balancing_filter ...
- f generate ... - Serializes an event stream to bytes of the specified encoding.
- f write ...
- f whitespace_filter ...
- f has_only_pcdata ...
- f escape_attrib ... - Escape attribute value.
- f serialize ...
- f apply_filters ...
- f __init__ ...
-
C
HTMLSerializer
...
- a doctype ...
- a empty_elements ...
- a boolean_attributes ...
- a elements_with_pcdata ...
- a noescape_elements ...
- f generate ... - Serializes an event stream to bytes of the specified encoding.
- f serialize ...
- f escape_cdata ... - Escape character data.
- f balancing_filter ...
- f whitespace_filter ...
- f has_only_pcdata ...
- f escape_attrib ... - Escape attribute value.
- f apply_filters ...
- f __init__ ...
-
C
Serializer
...
- f serialize ...
- f balancing_filter ...
- f apply_filters ...
- f whitespace_filter ...
- f has_only_pcdata ...
- f generate ...
- f __init__ ...
- m properties ... - Configuration API.
-
m
util
...
- C QuickTextReader ...
- f open_resource ... - Generic resource opener.
- f xml_sniff ... - Sniff text to see if it looks like XML. Return 1 if text looks like XML, otherwise return 0.