[Twisted-web] How do I add a doctype using stan?
m.milvo at gmail.com
Thu Feb 9 00:20:15 MST 2006
Okay, I have searched but have not found an answer and I am sure it is
obvious. I am using nevow tags and want to have the doctype so that
validation works. I am not using xmlfile or xmlstr.
I tried to do the following.
docFactory = stan.loaders(
tags.xml('DOCTYPE etc etc'),
tags.body['How do I add a doctype']
and of course it failed.
Any help appreciated.
More information about the Twisted-web