Builtin template loaders that supply a Page or renderer with a
document to render.
Nevow provides the following DocFactory loaders by default:
-
stan - turn a stan tag tree into a DocFactory
-
xmlfile - load a well formed XML document from file
-
htmlfile - load a HTML file from disk
-
xmlstr - load a well formed XML document from a string
-
htmlstr - load a HTML document from a string
Unless absolutely necessary you should use either the stan loader or
one of the xml loaders. The html loaders should only be used for badly
formed HTML documents, i.e. if your HTML developer hasn't heard of XHTML
yet. Even then, you should probably try to educate the HTML developer
first ;-).