annotate zpt/XML_schema_table.zpt @ 0:09361041be51

first checkin
author casties
date Fri, 11 Feb 2011 15:05:23 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
09361041be51 first checkin
casties
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
09361041be51 first checkin
casties
parents:
diff changeset
2 <table xmlns:tal="http://xml.zope.org/namespaces/tal"
09361041be51 first checkin
casties
parents:
diff changeset
3 tal:define="schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table);
09361041be51 first checkin
casties
parents:
diff changeset
4 fields data/fields" tal:attributes="name table">
09361041be51 first checkin
casties
parents:
diff changeset
5 <row tal:repeat="row data/rows">
09361041be51 first checkin
casties
parents:
diff changeset
6 <column tal:repeat="col row" tal:content="python:col" tal:attributes="name python:fields[repeat['col'].index][0]"/>
09361041be51 first checkin
casties
parents:
diff changeset
7 </row>
09361041be51 first checkin
casties
parents:
diff changeset
8 </table>