Changeset 2660 for TI07-MOLES


Ignore:
Timestamp:
28/06/07 16:27:52 (12 years ago)
Author:
ko23
Message:

StubB XQueries updated to include rawDeployments section

Location:
TI07-MOLES/trunk/StubB/XQuery
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/StubB/XQuery/NDG-ActStubB.xquery

    r2575 r2660  
    278278return f:return-stub-dataentity('dataentity', $DE) 
    279279} 
     280, element rawDeployments {for $rawDeployments in $Act/moles:dgActivity/moles:ActivityDeployment return $rawDeployments} 
    280281}, (: </DeploymentSummary> :) 
    281282        if (exists($Act/dgActivityCoverage)) then 
  • TI07-MOLES/trunk/StubB/XQuery/NDG-DEStubB.xquery

    r2581 r2660  
    232232return $DepObsStn  
    233233} 
     234, element rawDeployments {for $rawDeployments in $DE/moles:dgDataEntity/moles:RelatedDeployment return $rawDeployments} 
    234235} (: </DeploymentSummary> :) , 
    235         for $RelatedDataEntity in $DE/moles:dgDataEntity/moles:dgRelatedDataEntity 
     236        for $RelatedDataEntity in $DE/moles:dgActivity/moles:dgRelatedDataEntity 
    236237            return 
    237238                element relateddataentity { 
  • TI07-MOLES/trunk/StubB/XQuery/NDG-DPTStubB.xquery

    r2575 r2660  
    171171return f:return-stub-dataentity('dataentity', $DE) 
    172172} 
     173, element rawDeployments {for $rawDeployments in $DPT/moles:dgDataProductionTool/moles:DPTDeployment return $rawDeployments} 
    173174} (: </DeploymentSummary> :) 
    174175} (: </dgDataProductionTool> :),  
  • TI07-MOLES/trunk/StubB/XQuery/NDG-ObsStnStubB.xquery

    r2581 r2660  
    99declare namespace moles='http://ndg.nerc.ac.uk/moles'; 
    1010 
    11 declare variable $targetCollection as xs:string {'/db/ndg_B_metadata_4'}; 
     11declare variable $targetCollection as xs:string {'/db/ndg_B_metadata'}; 
    1212declare variable $repositoryIdentifier as xs:string {'badc.nerc.ac.uk'}; 
    1313declare variable $localIdentifier as xs:string {'obs_1162914661529326'}; 
     
    191191return f:return-stub-dataentity('dataentity', $DE) 
    192192} 
     193, element rawDeployments {for $rawDeployments in $ObsStn/moles:dgObservationStation/moles:ObsStationDeployment return $rawDeployments} 
    193194} (: </DeploymentSummary> :)  
    194195} (: </dgObservationStation> :),  
Note: See TracChangeset for help on using the changeset viewer.