An FAQ! Ben Ocean writes: > ... > <dtml-if expr="sequence-item==0"> > ... > I get an error that the compiler doesn't recognize the variable *sequence*. Inside Python expressions (you explicitly write "expr=" to remind yourself that you are using a Python expression!), '-' is not part of a name but the operator minus... Use <dtml-if expr="_['sequence-item'] == 0"> Dieter