t.w.t.XMLString(object) : class documentation

Part of twisted.web.template View Source View In Hierarchy

Implements interfaces: twisted.web.iweb.ITemplateLoader

An ITemplateLoader that loads and parses XML from a string.
ParameterssThe string from which to load the XML.
Method __init__ Run the parser on a StringIO copy of the string.
Method load Load a template suitable for rendering.
def __init__(self, s): (source)
Run the parser on a StringIO copy of the string.
def load(self): (source)
Load a template suitable for rendering.
Returnsa list of lists, unicode objects, Elements and other IRenderable providers.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.