twisted.web.template.XMLFile(object) class documentationtwisted.web.template
(View In Hierarchy)
Implements interfaces: twisted.web.iweb.ITemplateLoader
An ITemplateLoader
that loads and parses XML from a file.
| Method | __init__ | Run the parser on a file. | 
| Method | __repr__ | Undocumented | 
| Method | load | Return the document, first loading it if necessary. | 
| Instance Variable | _loadedTemplate | The loaded document, or None,
if not loaded. (type: alistof Stan objects, orNone.) | 
| Instance Variable | _path | The FilePath, 
file object, or filename that is being loaded from. | 
| Method | _loadDoc | Read and parse the XML. | 
Run the parser on a file.
| Parameters | path | The file from which to load the XML. (type: FilePath) | 
Read and parse the XML.
| Returns | the loaded document. (type: a listof Stan objects.) | |