Mercurial > hg > ChinaGisRestApi
view zpt/XML_schema_table.zpt @ 8:a9a49f5765c9
reworking templates and schema
author | casties |
---|---|
date | Wed, 21 Jul 2010 17:01:04 +0200 |
parents | zpt/XML_table.zpt@61a3764cd5fb |
children | b8922e13e7b5 |
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>