py:match="item.get('id')=='sidebar2'"

This approach will remove the elements defined in <td id="sidebar2">
in the master.kid. but the content i want to show up in my own kid
file still stay the old place.

On Apr 12, 7:18 am, Christoph Zwerschke <[email protected]> wrote:
> Diez B. Roggisch schrieb:
>
> > Try something like
>
> > py:match="d...@id=='sidebar2']"
>
> > At least that's according to the docs what should work.
>
> That's the syntax for Genshi which is using XPath expressions.
>
> For Kid you must use something like this:
>
>     py:match="item.get('id')=='sidebar2'"
>
> -- Christoph
--~--~---------~--~----~------------~-------~--~----~
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