twisted.web.template.XMLString(object)
class documentationtwisted.web.template
(View In Hierarchy)
Implements interfaces: twisted.web.iweb.ITemplateLoader
An ITemplateLoader
that loads and parses XML from a string.
Method | __init__ | Run the parser on a NativeStringIO
copy of the string. |
Method | load | Return the document. |
Instance Variable | _loadedTemplate | The loaded document. (type: a list of Stan objects.) |
Run the parser on a NativeStringIO
copy of the string.
Parameters | s | The string from which to load the XML. (type: str , or a UTF-8 encoded bytes .) |