Ben Kirman wrote: > My template.kid declares this tag as: > <html xmlns:v="urn:schemas-microsoft-com:vml" > xmlns="http://www.w3.org/1999/xhtml" > xmlns:py="http://purl.org/kid/ns#" > py:extends="'master.kid'"> > > yet Kid outputs simply <html> to the browser. > I tried the same in my master template but it is still the same. > > How can I make Kid retain this xmlns declaration in the output?
You need to render xhtml istead of html if you want to do stuff like this, since html does not support namespaces. Kid is able to render output in various ways, see: http://www.kid-templating.org/guide.html#common-output-methods In TurboGears, you can change the output method by setting kid.outputformat="xhtml" Not sure how you would do this with Pylons, though. -- Chris ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss