Changeset 3182 for exist


Ignore:
Timestamp:
07/01/08 16:00:12 (12 years ago)
Author:
selatham
Message:

fix temporal coverage bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/xquery/moles2dif.xq

    r3151 r3182  
    9393                    return element Long_Name {data($DepObsStnName)} 
    9494                }, 
    95         for $TemporalRange in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage//moles:dgDateRange) 
    96                 return  
    97                     element Temporal_Coverage 
     95    for $TemporalRange in $DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage/(moles:dgTemporalCoverage | moles:dgSpatioTemporalCoverage/moles:dgSpatioTemporalRange/moles:dgTemporalCoverage)/moles:DateRange 
     96        return 
     97            element Temporal_Coverage 
    9898                        { 
    9999                        element Start_Date {data($TemporalRange/moles:DateRangeStart)}, 
Note: See TracChangeset for help on using the changeset viewer.