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

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

minor changes to wfs templates

Line 
1<?xml version="1.0"?>
2
3<?python
4from genshi import XML
5?>
6
7<!--! TODO, featuretype specific xml namespace declaration -e.g. csml: must be done on the fly. Must be present to qualify Qnames in returnFeatureType-->
8<ListStoredQueriesResponse xmlns="http://www.opengis.net/wfs/2.0" xmlns:py="http://genshi.edgewall.org/" xmlns:csml="http://ndg.nerc.ac.uk/csml">
9        <py:for each="queryid in c.storedqueries">
10                <?python
11                querydesc=c.storedqueries[queryid][0]
12                ?>
13          <StoredQuery id="${queryid}">
14                          <Title py:content="querydesc.title"/>
15                          <ReturnFeatureType py:content="querydesc.queryExpressionText.returnFeatureType"/> 
16                  </StoredQuery>
17    </py:for> 
18</ListStoredQueriesResponse>
Note: See TracBrowser for help on using the repository browser.