Mercurial > hg > ChinaGisRestApi
view zpt/XML_schema_table.zpt @ 94:e76dd62f93fd
merge
with 399148bf9b3ad57da913ae440cc5f96e5d1b02bd
author | casties |
---|---|
date | Wed, 26 Jan 2011 12:58:06 +0100 |
parents | c6c47034d2a4 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <table xmlns:tal="http://xml.zope.org/namespaces/tal" tal:define="schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table); fields data/fields" tal:attributes="name table"> <row tal:repeat="row data/rows"> <column tal:repeat="col row" tal:content="python:col" tal:attributes="name python:fields[repeat['col'].index][0]"/> </row> </table>