source: cows/trunk/cows/pylons/templates/wfs_liststoredqueries.xml @ 4408

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/pylons/templates/wfs_liststoredqueries.xml@4408
Revision 4408, 543 bytes checked in by domlowe, 11 years ago (diff)

More prototype support for stored queries.

Line 
1<?xml version="1.0"?>
2
3<?python
4from genshi import XML
5?>
6
7
8<wfs:ListStoredQueriesResponse xmlns:py="http://genshi.edgewall.org/" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml">
9        <py:for each="queryid in c.storedqueries">
10          <wfs:StoredQuery id="queryid">
11                          <wfs:Title py:content="c.storedqueries[queryid][0].title"/>
12                          <wfs:ReturnFeatureType py:content="c.storedqueries[queryid][0].queryExpressionText.returnFeatureType"/> 
13
14                  </wfs:StoredQuery>
15    </py:for> 
16</wfs:ListStoredQueriesResponse>
Note: See TracBrowser for help on using the repository browser.