Diez

Thanks.  Yes I read the docs and understand that item refers to
components of an element (meta?) and py:replace just replaces the meta
element with the contents of the py:replace argument.   If I'm not
mistaken, doesn't this mean that
<meta py:replace="item[:]"/> will simply replace the meta element with
its contents?  That seems weird so I wonder if I'm understanding
something wrong in docs.

Chris

On Jan 16, 9:57 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
> > Please explain purpose of '<meta py:replace="item[:]"/>' (in Kid
> > templates).
>
> > What is the item object that seems to pop up in a lot of places?
>
> > I ran into some problems trying to remove it so I know it is
> > important.
> > (Removing it doesn't let me put script elements in head elements.)
>
> This is well documented in the KID docs:
>
> http://www.kid-templating.org/language.html#match-templates
>
> Diez
--~--~---------~--~----~------------~-------~--~----~
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