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 &lt;= 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.

Attachment: signature.asc
Description: Digital signature

Reply via email to