Mercurial > hg > ChinaGisRestApi
annotate zpt/XML_schema_table.zpt @ 57:b47314bcff37
connect lines works now
author | casties |
---|---|
date | Wed, 20 Oct 2010 18:27:24 +0200 |
parents | c6c47034d2a4 |
children |
rev | line source |
---|---|
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
2 <table xmlns:tal="http://xml.zope.org/namespaces/tal" |
44 | 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"> | |
11 | 6 <column tal:repeat="col row" tal:content="python:col" tal:attributes="name python:fields[repeat['col'].index][0]"/> |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
7 </row> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
8 </table> |