class documentation

class XMLString: (source)

Implements interfaces: twisted.web.iweb.ITemplateLoader

View In Hierarchy

An ITemplateLoader that loads and parses XML from a string.
Method __init__ Run the parser on a StringIO copy of the string.
Method load Return the document.
Instance Variable _loaded​Template The loaded document.
def __init__(self, s): (source)
Run the parser on a StringIO copy of the string.
Parameters
s:str, or a UTF-8 encoded bytes.The string from which to load the XML.
def load(self): (source)
Return the document.
Returns
a list of Stan objects.the loaded document.
_loadedTemplate: a list of Stan objects. = (source)
The loaded document.