On 2007-09-27 20:37:08 -0000, batok wrote:
> <table>
> <tr><td colspan="2">${bigchart()}</td></tr>
> <tr py:for="i in range(0,len(charts),2)">
> <td> <span py:content="charts[i]()" /></td>
> this is when raises and expat error....
> <td> <span py:if="i < tope" py:content="charts[i+1]()">
> ...( y tried with i < 4 getting the same error. But when i do i.e.
> py:if="i%2" or py:if="i" py:if="True" I 've get no error
> </tr>It has to be <span py:if="i < tope" ... Kid templates are XML and '<' needs to be escaped for it to be well-formed. -- anders pearson : http://www.columbia.edu/~anders/ C C N M T L : http://www.ccnmtl.columbia.edu/ weblog : http://thraxil.org/
signature.asc
Description: Digital signature

