Ignore:
Timestamp:
15/01/10 14:09:48 (10 years ago)
Author:
sdonegan
Message:

added method to extract datasetID ..doh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ingestion-MEDIN/ingestAutomation-upgrade/OAIBatch/difConvertedto_ISO19139.py

    r6310 r6312  
    1414                 
    1515                logging.info("Initiated ISO data model: GCMD converted to ISO19139 MEDIN v? profile") 
     16         
     17        ''' 
     18        Method to extract the dataset ID from the xml 
     19        ''' 
     20        def datasetID(self): 
     21                 
     22                datasetID = (self.dataSetName.__name__,{1:{'xpath':'gmd:fileIdentifier/gco:CharacterString'}}) 
     23                 
     24                return datasetID 
    1625         
    1726        def dataSetName(self): 
Note: See TracChangeset for help on using the changeset viewer.