> > > I've tried that already, I mean adding > > > xmlns:mochi="http://www.mochikit.com" to the <html> element of the > > > template but then although kid doesn't complain and compiles the > > > template the actual output will have > > > > > > <p ns1:hello="x"> </p> > > > > Hm, just checked this with the welcome.kid template of a quickstarted > > project and it worked, i.e. I get mochi:hello="x", with both html and > > xhtml output. > > > > You probably need to tell us more exactly what you're doing. And are you > > using the current versions? > > > > > Strangely, although you are of course right that html doesn't have > > > namespaces kid doesn't complain and happily renders the html doctype > > > > Right. The only thing that will be missing is the ns declaration which > > is ok since this is HTML. > > Hmmm, you are right, with a fresh quickstarted project I get the same > result as you and everything is fine. I'll need to investigate what > goes wrong with my actual example that turns 'mochi' into 'ns1', I'll > post the result if its interesting.
Oh well, I have to confess I gave up. Sometimes mochi turns into ns1 sometimes not but couldn't figure out the reason. In this sortable table example of mochikit the mochi namespace is actually only used for determining the format of the table entry as string, date, case-insensitive-string, etc, and in my case they all should be sorted as case insensitive strings so I just got rid of this mochi namespace business :) Cheers, Daniel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

