"Michele Cella" <[EMAIL PROTECTED]> writes:
> Hi Jorge,
>
> If I've got right what you are trying to do, I think you can do
> something like this:
>
> on your master.kid
>
> <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'"
> py:attrs="func">
>
> If you put it inside the template that extends master.kid it wouldn't
> work, that's something to look at probably.
Interesting, Michele, because I haven't tried putting it in master.kid. Since
it is something particular to this page only, I didn't think about putting it
there and "polluting" the whole site. This is definitely something to look
at. Specially because if I had something invalid at the start of the body
element, Kid threw an exception, so I believe it was doing something with the
attributes. :-)
I've decided using Bob's solution, since it puts all logic inside de template
itself, making it clearer and easier to maintain.
Thanks for your help!
--
Jorge Godoy <[EMAIL PROTECTED]>