[Twisted-web] nevow's loaders.xmlfile returning XML

Abdul-Wahid Paterson abdulwahid at gmail.com
Sat Jun 28 06:15:44 EDT 2008


I am a bit confused about loaders.xmlfile() method and what it is
donig to my XML templates. It seems to be HTMLifying my XML by doing
things like stripping the / out of <br />.

I am trying to develop some pages where I have inline SVG in the code.
My static XHTML files work fine but the code returned from nevow does
not work.

How can I get nevow to return XHTML and not HTML? How can I put the
HTML namespace into my returned XHTM?



More information about the Twisted-web mailing list