Changeset 4275 for cows/trunk/cows


Ignore:
Timestamp:
02/10/08 14:51:02 (11 years ago)
Author:
domlowe
Message:

changing layers to featuretypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/templates/wfs_capabilities_1_1_0.xml

    r4274 r4275  
    3838 
    3939  ?> 
    40   <FeatureTypeList> 
     40 
    4141          <FeatureType py:def="markupLayer(ds)"> 
    4242                <Name py:content="ds.identifier"/> 
     
    5050                </ows:WGS84BoundingBox> 
    5151          </FeatureType> 
    52   </FeatureTypeList> 
    5352  <!--! ====================================================================== --> 
    5453 
     
    126125    </ows:OperationsMetadata> 
    127126     
    128     <!-- COMMENTED OUT FOR NOW 
    129     <Exception><Format>text/xml</Format></Exception> 
    130                 --> 
    131         <!-- Layers need to be featuretypes: --> 
    132     <Layer py:if="c.capabilities.contents is not None"> 
     127    <FeatureTypeList py:if="c.capabilities.contents is not None"> 
    133128      <Title>Contents</Title> 
    134       <Layer py:for="ds in c.capabilities.contents.datasetSummaries" 
     129      <FeatureType py:for="ds in c.capabilities.contents.datasetSummaries" 
    135130             py:replace="markupLayer(ds)"> 
    136       </Layer> 
    137     </Layer>  
     131      </FeatureType> 
     132    </FeatureTypeList>  
    138133 
    139134</WFS_Capabilities> 
Note: See TracChangeset for help on using the changeset viewer.