annotate zpt/XML_schema_table.zpt @ 237:35c3d0ce2914

show line and polygon-layer
author fknauft
date Tue, 06 Sep 2011 09:52:15 +0200
parents c6c47034d2a4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
c6c47034d2a4 more refactoring of templates
casties
parents: 11
diff changeset
3 tal:define="schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table);
c6c47034d2a4 more refactoring of templates
casties
parents: 11
diff changeset
4 fields data/fields" tal:attributes="name table">
c6c47034d2a4 more refactoring of templates
casties
parents: 11
diff changeset
5 <row tal:repeat="row data/rows">
11
b8922e13e7b5 fixed xml templates to work with new data structures
casties
parents: 8
diff changeset
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>