Mercurial > hg > ZDBInterface
annotate zpt/XML_schema_table.zpt @ 0:09361041be51
first checkin
author | casties |
---|---|
date | Fri, 11 Feb 2011 15:05:23 +0100 |
parents | |
children |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <table xmlns:tal="http://xml.zope.org/namespaces/tal" | |
3 tal:define="schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table); | |
4 fields data/fields" tal:attributes="name table"> | |
5 <row tal:repeat="row data/rows"> | |
6 <column tal:repeat="col row" tal:content="python:col" tal:attributes="name python:fields[repeat['col'].index][0]"/> | |
7 </row> | |
8 </table> |