<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>
On Sep 27, 3:05 pm, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote:
> On 9/27/07, batok <[EMAIL PROTECTED]> wrote:
>
>
>
> > I am doing a kid template that includes a py:if attribute.
>
> > When the template is parsed raises an error related to xml .
>
> Are you doing quotes
> properly?http://lucasmanual.com/mywiki/TurboGears#head-205dfc42b60a33f0b26a35d...
> example:
> <div py:if="person.first_name and person.last_name" >
> <span py:content="person.last_name">Name to be replaced</span>,
> <span py:content="person.first_name">Name to be replaced</span>
> </div>
>
>
>
> > I have no problem at all when using py:for or py:content. Even in vim
> > when I write py:if the "if" is not bold as with py:for or py:content.
> > Any ideas?
>
> > Tks in Advance
>
> > Domingo Aguilera
>
> --
> --
> Easy, Highly Configurable and Customizable Operating System for
> Business.http://www.lucasmanual.com
> TurboGears from start to finish:http://www.lucasmanual.com/mywiki/TurboGears
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---