Daniel Fetchinson wrote: > The rendered html page should contain namespace information, for instance > > <tr> > <th mochi:format="str">Domain Name</th> > <th mochi:format="isodate">Creation Date</th> > <th mochi:format="isodate">Expiry Date</th> > <th mochi:format="istr">Organization Name</th> > </tr> > > and I can't get this out from kid. If I simply put the above lines > into a template kid complains about an unbound prefix. Do I have to > declare somehow this new namespace or what's the proper way?
Yes, you must declare it (xmlns:mochi="http://www.mochikit.com") in one of the enclosing tags, since Kid reads only valid XML files. Also, you'll probably need to render your page as XHTML, since Kid does not output namespaces in HTML because HTML actually has no namespaces. -- Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

