Changeset 2468 for TI02-CSML


Ignore:
Timestamp:
11/05/07 16:58:13 (12 years ago)
Author:
selatham
Message:

added listlevel

File:
1 edited

Legend:

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

    r2436 r2468  
    11#Dominic Lowe, BADC  18 October 2006 
    2 #Updated Sue Latham, BADC 6 December 2006 - add dgStructuredKeyword class 
    3  
    4 import cElementTree as ET 
     2#Updated Sue Latham, various, see SVN log 
     3 
     4#import cElementTree as ET 
     5try: #python 2.5 
     6    from xml.etree import cElementTree as ET 
     7except ImportError: 
     8    try: 
     9        # if you've installed it yourself it comes this way 
     10        import cElementTree as ET 
     11    except ImportError: 
     12        # if you've egged it this is the way it comes 
     13        from elementtree import cElementTree as ET 
     14 
    515import sys 
    616 
     
    280290        'dgValidTermParentID', \ 
    281291        'dgValidSubterm', \ 
     292        'ListLevel',\ 
    282293        'metadataDescriptionID', \ 
    283294        'dgMetadataDescription', \ 
Note: See TracChangeset for help on using the changeset viewer.