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 _loadedTemplate The loaded document.
def __init__(self, s): (source)

Run the parser on a StringIO copy of the string.

ParameterssThe string from which to load the XML. (type: str, or a UTF-8 encoded bytes.)
_loadedTemplate = (source)

The loaded document.

(type: List[Flattenable])
def load(self): (source)

Return the document.

Returnsthe loaded document. (type: List[Flattenable])
API Documentation for Twisted, generated by pydoctor 21.2.2 at 2021-07-28 08:52:54.