Changeset 4291 for cows/trunk/cows


Ignore:
Timestamp:
07/10/08 10:04:49 (11 years ago)
Author:
domlowe
Message:

Get feature by featureid working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/service/imps/csmlbackend/wfs_csmllayer.py

    r4289 r4291  
    9898         
    9999        #TODO un-hardcode this: 
    100         elem=etree.Element('http://csml.badc.rl.ac.uk}GridSeriesFeature') 
    101          
    102         return self._feature.toXML(elem) 
     100        emptyelem=etree.Element('{http://ndg.nerc.ac.uk/csml}GridSeriesFeature') 
     101        csmlelem=self._feature.toXML(emptyelem) 
     102        return etree.tostring(csmlelem) 
    103103         
    104104         
Note: See TracChangeset for help on using the changeset viewer.