Changeset 2572 for TI07-MOLES/trunk/DIF


Ignore:
Timestamp:
11/06/07 13:41:42 (13 years ago)
Author:
ko23
Message:
 
File:
1 edited

Legend:

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

    r2553 r2572  
    8585                    element Long_Name {data($DepObsStnRecord/moles:name)} 
    8686                }, 
    87         for $TemporalRange in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/moles:dgTemporalCoverage/moles:DateRange) 
     87        for $TemporalRange in $DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/(moles:dgTemporalCoverage | moles:dgSpatioTemporalCoverage/moles:dgSpatioTemporalRange/moles:dgTemporalCoverage)/moles:DateRange 
    8888                return  
    8989                    element Temporal_Coverage 
     
    9292                        element End_Date {data($TemporalRange/moles:DateRangeEnd)} 
    9393                        }, 
    94         for $TemporalTerm in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/moles:dgTemporalCoverage/moles:dgChronostratigraphicTerm[voclib:spot-vocab($voclib:gcmd_chronostratigraphic_valids, moles:dgValidTermID/moles:ParentListID)]/moles:dgValidTerm) 
     94        for $TemporalTerm in $DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/(moles:dgTemporalCoverage | moles:dgSpatioTemporalCoverage/moles:dgSpatioTemporalRange/moles:dgTemporalCoverage)/moles:dgChronostratigraphicTerm[voclib:spot-vocab($voclib:gcmd_chronostratigraphic_valids, moles:dgValidTermID/moles:ParentListID)]/moles:dgValidTerm 
    9595                return element Paleo_Temporal_Coverage {element Chronostratigraphic_Unit {data($TemporalTerm)}},  
    9696        for $Data_Set_Progress in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataStatus/moles:dgDatasetClosure) 
    9797                return element Data_Set_Progress {data($Data_Set_Progress)}, 
    98         for $BoundingBox in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/moles:dgSpatialCoverage/moles:BoundingBox) 
     98        for $BoundingBox in $DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/(moles:dgSpatialCoverage | moles:dgSpatioTemporalCoverage/moles:dgSpatioTemporalRange/moles:dgSpatialCoverage)/moles:BoundingBox 
    9999        return  
    100100            element Spatial_Coverage { 
     
    104104                    element Easternmost_Longitude {data($BoundingBox/moles:LimitEast)} 
    105105                }, 
    106         for $Location in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/moles:dgSpatialCoverage/moles:dgArea[voclib:spot-vocab($voclib:gcmd_location_valids, moles:dgValidTermID/moles:ParentListID)]) 
     106        for $Location in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/(moles:dgSpatialCoverage | moles:dgSpatioTemporalCoverage/moles:dgSpatioTemporalRange/moles:dgSpatialCoverage)/moles:dgArea[voclib:spot-vocab($voclib:gcmd_location_valids, moles:dgValidTermID/moles:ParentListID)]) 
    107107                return element Location {data($Location/moles:dgValidTerm)},  
    108108        for $DepActRepository in distinct-values($DE/moles:dgDataEntity/moles:RelatedDeployment/moles:ActivityID/moles:repositoryIdentifer) 
Note: See TracChangeset for help on using the changeset viewer.