Thanks Matt, that did the trick. When I get a moment I will stick it on the nevow wiki. Michael
loaders.stan only takes one arg so put the tags.xml and the tags.html top node in a tuple or list. The second arg is the name of the pattern to extract from the template in the first arg.
docFactory = loaders.stan( ( tags.xml('DOCTYPE etc etc'), tags.html[ tags.head[tags.title['Help']], tags.body['How do I add a doctype'] ] ) )
- Matt
-- __ / \__ Matt Goodall, Pollenation Internet Ltd \__/ \ w: http://www.pollenation.net __/ \__/ e: matt@pollenation.net / \__/ \ t: +44 (0)113 2252500 \__/ \__/ / \ Any views expressed are my own and do not necessarily \__/ reflect the views of my employer.
_______________________________________________ Twisted-web mailing list Twisted-web@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web