Hi all,
I'm doing some tests with templates and have this error:
"""
⇝ TemplateSyntaxError: mismatched tag: line 33, column 6 (/home/helio/
tmp/Hello-World/helloworld/templates/testes.html, line 33)
"""
The template code near this lines is:
"""
22 <?python
23 a = {"0":"zero","1":"um","2":"dois"}
24 ?>
25
26 <Table border="0">
27 <py:for each="key,kval in ${a.iteritems()}">
28 <tr>
29 <td>${key}</td>
30 <td>${kval}</td>
31 </tr>
32 </py:for>
33 </table>
34 <hr />
"""
Can you tell me what is wrong here?
NOTE:
- Genshi doc for loop 'for':
http://genshi.edgewall.org/wiki/Documentation/xml-templates.html#id3
Many thanks for your help,
Helio Pereira
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---