Changeset 8871 for ndgCommon


Ignore:
Timestamp:
04/07/14 15:14:48 (3 years ago)
Author:
sdonegan
Message:

Using fileUUIDs in medin service - this will match the fileIdentifier element now

Location:
ndgCommon/trunk/ndg/common/xmldb/xquery
Files:
2 edited

Legend:

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

    r6850 r8871  
    2222declare variable $localIdentifier as xs:string := 'LocalID'; 
    2323 
    24 for $MD_Metadata in collection($targetCollection)/gmd:MD_Metadata[gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:identifier/gmd:RS_Identifier/gmd:code/gco:CharacterString=$localIdentifier] return  
     24for $MD_Metadata in collection($targetCollection)/gmd:MD_Metadata[gmd:fileIdentifier/gco:CharacterString=$localIdentifier] return  
    2525 
    2626    element oai_dc:dc { 
  • ndgCommon/trunk/ndg/common/xmldb/xquery/ISO2DIF.xq

    r6850 r8871  
    2121declare variable $localIdentifier as xs:string := 'LocalID'; 
    2222 
    23 for $MD_Metadata in collection($targetCollection)/gmd:MD_Metadata[gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:identifier/gmd:RS_Identifier/gmd:code/gco:CharacterString=$localIdentifier] return  
     23for $MD_Metadata in collection($targetCollection)/gmd:MD_Metadata[gmd:fileIdentifier/gco:CharacterString=$localIdentifier] return  
    2424 
    2525    element ns0:DIF { 
Note: See TracChangeset for help on using the changeset viewer.