Mercurial > hg > ZDBInterface
comparison zpt/XML_schema_table.zpt @ 0:09361041be51
first checkin
author | casties |
---|---|
date | Fri, 11 Feb 2011 15:05:23 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:09361041be51 |
---|---|
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> |