Mercurial > hg > ChinaGisRestApi
view zpt/XML_table.zpt @ 2:61a3764cd5fb
new version RestDbInterface with working traversal and templates
author | casties |
---|---|
date | Fri, 21 May 2010 11:48:30 +0000 |
parents | |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <table xmlns:tal="http://xml.zope.org/namespaces/tal" tal:define="fields options/data/names" tal:attributes="name options/tablename"> <row tal:repeat="row options/data"> <column tal:repeat="field fields" tal:attributes="name field" tal:content="python:row[field]"/> </row> </table>