Okay.  I feel stupid.  I just redid this test under kid, and got the
same results.

I'm guessing that I'm using the wrong Doctype and if I change it to an
xhtml doctype all will be good.

Nothing to see here. Run along.

Oh, you're still here....any thoughts on the pros and cons of each
doctype?

Thanks!


On Apr 2, 2:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Anyone else having a problem of Genshi omitting end tags that you've
> put into the template?
>
> Here's my test case:
>
> ***** Template file name genshi_test.html:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";
>       xmlns:py="http://genshi.edgewall.org/";
>       xmlns:xi="http://www.w3.org/2001/XInclude";>
> <xi:include href="master.html" />
> <head>
>     <meta content="text/html; charset=UTF-8" http-equiv="content-type"
> py:replace="''"/>
> </head>
> <body>
> Genshified<br />
>   </body>
> </html>
>
> **** And here is the xhtml outputted to my browser:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html>
> <head>
> </head>
> <body>
> Genshified<br>
>   </body>
> </html>
>
> *****
> Notice there is no end tag </br> after the <br>
>
> Shouldn't Genshi create one for me?
>
> *****
> Here's the output from tg-admin info:
> TurboGears Complete Version Information
>
> TurboGears requires:
>
> * TurboGears 1.0.1
> * configobj 4.4.0
> * RuleDispatch 0.5a0.dev-r2115
> * setuptools 0.6c5
> * FormEncode 0.7
> * cElementTree 1.0.5-20051216
> * PasteScript 1.3
> * elementtree 1.2.6-20050316
> * simplejson 1.7
> * CherryPy 2.2.1
> * TurboKid 0.9.9
> * TurboCheetah 0.9.5
> * TurboJson 1.0
> * PyProtocols 1.0a0
> * PasteDeploy 1.1
> * Paste 1.3
> * kid 0.9.5
> * Cheetah 2.0rc7
>
> Identity Providers
>
> * sqlobject (TurboGears 1.0.1)
> * sqlalchemy (TurboGears 1.0.1)
>
> tg-admin Commands
>
> * info (TurboGears 1.0.1)
> * shell (TurboGears 1.0.1)
> * quickstart (TurboGears 1.0.1)
> * update (TurboGears 1.0.1)
> * sql (TurboGears 1.0.1)
> * i18n (TurboGears 1.0.1)
> * toolbox (TurboGears 1.0.1)
>
> Visit Managers
>
> * sqlobject (TurboGears 1.0.1)
> * sqlalchemy (TurboGears 1.0.1)
>
> Template Engines
>
> * kid (TurboKid 0.9.9)
> * cheetah (TurboCheetah 0.9.5)
> * json (TurboJson 1.0)
> * genshi-markup (Genshi 0.4dev-r527)
> * genshi-text (Genshi 0.4dev-r527)
> * genshi (Genshi 0.4dev-r527)
>
> Widget Packages
>
> TurboGears Extensions
>
> * visit (TurboGears 1.0.1)
> * identity (TurboGears 1.0.1)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to