Changeset 3715 for exist


Ignore:
Timestamp:
01/04/08 15:17:34 (11 years ago)
Author:
lawrence
Message:

Fix for ticket:971 and ticket:972 in moles2dif.

File:
1 edited

Legend:

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

    r3361 r3715  
    9696                        { 
    9797                        element Start_Date {data($TemporalRange/moles:DateRangeStart)}, 
    98                         element End_Date {data($TemporalRange/moles:DateRangeEnd)} 
     98                        element Stop_Date {data($TemporalRange/moles:DateRangeEnd)} 
    9999                        }, 
    100100        for $TemporalTerm in ($DE/moles:dgDataEntity/moles:dgDataSummary/moles:dgDataCoverage//moles:dgArea/moles:dgValidTerm) 
     
    219219                                    element Contact_Address { 
    220220                                        for $addressline in $DataCuratorRole/moles:contactDetails/moles:address/moles:addressline 
    221                                             return element address {data($addressline)}, 
     221                                            return element Address {data($addressline)}, 
    222222                                                        if (exists($DataCuratorRole/moles:contactDetails/moles:address/moles:city)) then  
    223223                                        element City {string($DataCuratorRole/moles:contactDetails/moles:address/moles:city)} 
     
    233233                                    element Contact_Address { 
    234234                                        for $addressline in $DataCuratorRoleHolder/moles:contactDetails/moles:address/moles:addressline 
    235                                             return element address {data($addressline)}, 
     235                                            return element Address {data($addressline)}, 
    236236                                                            if (exists($DataCuratorRoleHolder/moles:contactDetails/moles:address/moles:city)) then  
    237237                                            element City {string($DataCuratorRoleHolder/moles:contactDetails/moles:address/moles:city)} 
Note: See TracChangeset for help on using the changeset viewer.