The PHPTAL[1], based on ZPT, are using the operators LT, GT, LE, ... Try it
1 - http://phptal.org/manual/en/split/conditional.html On Wed, Sep 4, 2013 at 1:47 AM, Marius Gedminas <[email protected]> wrote: > On Tue, Sep 03, 2013 at 03:58:28PM -0700, Iain Duncan wrote: > > Well, I'm solving it for now with the ugly but usable: > > > > <div tal:condition="repeat.block.index.__cmp__(3) == -1" ... > > > > If anyone has better suggestion I'd love to hear it! > > According to Rules Of XML(TM), the following is the Official Way of > including a less-than sign inside an attribute: > > <div tal:condition="repeat.block.index <= 4" > ... > > I've never tested it with Chameleon before, but it might work. > > Marius Gedminas > -- > Never trust an operating system you don't have sources for. > -- Robson Roberto Souza Peixoto Robinho http://robsonpeixoto.com/ Master in Computer Science, University of Campinas Linux Counter #395633 IRC: robsonpeixoto Twitter: http://twitter.com/rrspba github: https://github.com/robsonpeixoto -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
