Mercurial > hg > ChinaGisRestApi
diff zpt/XML_index.zpt @ 45:ed8db63fab4f
more refactoring of templates
author | casties |
---|---|
date | Thu, 02 Sep 2010 17:01:52 +0200 |
parents | b8922e13e7b5 |
children |
line wrap: on
line diff
--- a/zpt/XML_index.zpt Thu Sep 02 16:38:50 2010 +0200 +++ b/zpt/XML_index.zpt Thu Sep 02 17:01:52 2010 +0200 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<schemalist xmlns:tal="http://xml.zope.org/namespaces/tal"> - <schema tal:repeat="row options/data/rows"> +<schemalist xmlns:tal="http://xml.zope.org/namespaces/tal" + tal:define="data here/getListOfSchemas"> + <schema tal:repeat="row data/rows"> <name tal:content="python:row[0]"/> </schema> </schemalist> \ No newline at end of file