[EMAIL PROTECTED] schrieb: > The inevitable question is why do we even need to include <title > py:replace="''"> at all since Kid is going to blow it away > anyways???!? > > Does it have something to do with fact that we want Kid templates to > be valid (X)HTML before *and* after processing?
That's the exact reason. The idea behind attribute languages like ZPT, Kid or Genshi is that the templates is a valid XHTML page that can be viewed and edited with normal HTML tools. > (Assuming we can ignore all the py:XXX Kid stuff when deciding if > something is valid (X)HTML.) We can do that because this stuff is living in a different namespace. That's the whole trick. Other templating languages insert stuff that makes the templates invalid as XHTML. -- Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---

