Changeset 2830


Ignore:
Timestamp:
20/08/07 11:28:05 (12 years ago)
Author:
sdonegan
Message:

This seems to work ok -any reference to notes field in Moles has been removed. SJD.

File:
1 edited

Legend:

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

    r2808 r2830  
    66declare namespace f='http://ndg.nerc.ac.uk/moles/localfunctions'; 
    77 
    8 (: Keep 
     8 
    99declare variable $targetCollection as xs:string {'TargetCollection'}; 
    1010declare variable $repositoryIdentifier as xs:string {'RepositoryID'}; 
    1111declare variable $localIdentifier as xs:string {'LocalID'}; 
    12 :) 
     12(: Keep 
    1313declare variable $targetCollection as xs:string {'/db/ndg_B_metadata'}; 
    1414declare variable $repositoryIdentifier as xs:string {'badc.nerc.ac.uk'}; 
    1515declare variable $localIdentifier as xs:string {'dataent_CIRA'}; 
    16  
     16:) 
    1717for $DE in collection($targetCollection)/moles:dgMetadata/moles:dgMetadataRecord[ 
    1818        exists('moles:dgDataEntity')  
     
    308308                        element URL {data($RelURL_Desc/moles:dgSimpleLink/moles:URI)},  
    309309 
    310                             (: nothing put here? :) 
    311                             element Description {concat(data($RelURL_Desc/moles:dgSimpleLink/moles:name), ' - ', data($RelURL_Desc/moles:notes))}            
     310                            (: According to Sue, the description can be the standard definition as served by the NDG vocalb server :) 
     311                            element Description {data($RelURL_Desc/moles:dgSimpleLink/moles:name)}           
    312312                         }, 
    313313        element Parent_DIF {''}, 
Note: See TracChangeset for help on using the changeset viewer.