Changeset 8839


Ignore:
Timestamp:
09/12/13 17:05:40 (6 years ago)
Author:
sdonegan
Message:

Update to remove ndg and ceda id guff from the fileIdentifier tag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/xmldb/xquery/atom2NERCiso.xq

    r7960 r8839  
    107107(:sort out complex variables here as easier to do here than embedded in the xQuery! :) 
    108108 
    109 (: set unique identifier as a variable :)     
    110 let $identifier := concat(string($DE/moles:entity/moles:molesISO/moles:providerID),':',$MetadataStandardCEDAPrefix,':', tokenize(string($DE/atom:id), '__ATOM__')[2]) 
     109(: set unique identifier as a variable    :) 
     110(: let $identifier := concat(string($DE/moles:entity/moles:molesISO/moles:providerID),':',$MetadataStandardCEDAPrefix,':', tokenize(string($DE/atom:id), '__ATOM__')[2]):)  
     111let $identifier := string(tokenize(string($DE/atom:id), '__ATOM__')[2]) 
    111112 
    112113(: extract the CEDA Data Center ID :) 
Note: See TracChangeset for help on using the changeset viewer.