Ignore:
Timestamp:
22/06/07 10:26:35 (12 years ago)
Author:
domlowe
Message:

Added  csml:name to CSML Schema and Parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/parser_extra.py

    r2619 r2632  
    6161def removeInlineNS(csmlstring): 
    6262        #  removeInlineNS: function removes "inline" namespaces and declares them as part of the Dataset element. 
    63         #TODO: This whole thing is hardcoded and needs reviewing. 
    64          
    65         #first need to update the ElementTree namespace map: 
    66         etree._namespace_map.update({ 
    67         'http://www.opengis.net/om': 'om',  'http://www.opengis.net/gml': 'gml','http://ndg.nerc.ac.uk/csml' : 'csml', 'http://www.w3.org/1999/xlink':'xlink'}) 
    6863     
    6964        #replace any fully qualified namespaces 
Note: See TracChangeset for help on using the changeset viewer.