class documentation
class XMLString: (source)
Constructor: XMLString(s)
Implements interfaces: twisted.web.iweb.ITemplateLoader
An ITemplateLoader
that loads and parses XML from a string.
Method | __init__ |
Run the parser on a io.StringIO copy of the string. |
Method | load |
Return the document. |
Instance Variable | _loaded |
The loaded document. |
Run the parser on a io.StringIO
copy of the string.
Parameters | |
s:str , or a UTF-8 encoded bytes . | The string from which to load the XML. |