Mercurial > hg > ChinaGisRestApi
annotate zpt/XML_schema_table.zpt @ 22:1a4b56716902
NEW - # 12: create table and upload data
https://it-dev.mpiwg-berlin.mpg.de/tracs/GIS/ticket/12
JSON data formats
author | casties |
---|---|
date | Thu, 19 Aug 2010 14:30:51 +0200 |
parents | b8922e13e7b5 |
children | c6c47034d2a4 |
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" |
11 | 3 tal:define="fields options/data/fields" tal:attributes="name options/tablename"> |
4 <row tal:repeat="row options/data/rows"> | |
5 <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
|
6 </row> |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
diff
changeset
|
7 </table> |