Enrico Heller
2013-10-21 12:01:39 UTC
Hello there,
I'm new to genshi and want to output my own trac plugin with genshi. I have
a list of dicionaries and i want to output this
by key
[0]
+ {id} 01
+ {name} hans
[1]
+ {id} 02
+ {name} claudia
and so on...
now i want to output these like this way.
18 <table>
19 <th>ID</th><th>Name</th>
20 <py:for each="row in results">
21 <tr>
22 <td>$row['id']</td>
23 <td>$row['name']</td>
24 </tr>
25 </py:for>
26 </table>
the syntax in line 22 and 23 is wrong but i can't find some exambles.
How I do it right
Thanks for your Help
Enrico
I'm new to genshi and want to output my own trac plugin with genshi. I have
a list of dicionaries and i want to output this
by key
[0]
+ {id} 01
+ {name} hans
[1]
+ {id} 02
+ {name} claudia
and so on...
now i want to output these like this way.
18 <table>
19 <th>ID</th><th>Name</th>
20 <py:for each="row in results">
21 <tr>
22 <td>$row['id']</td>
23 <td>$row['name']</td>
24 </tr>
25 </py:for>
26 </table>
the syntax in line 22 and 23 is wrong but i can't find some exambles.
How I do it right
Thanks for your Help
Enrico
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genshi+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/genshi.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Genshi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genshi+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/genshi.
For more options, visit https://groups.google.com/groups/opt_out.