Ignore:
Timestamp:
13/11/08 15:30:13 (11 years ago)
Author:
cbyrom
Message:

Upgrade the various 'list' xqueries - to nest all results in a single
root element - so that only one document need be retrieved to get all
results + adjust ndgDirectory to cope with processing the new results +
fix the various namespaces mentioned in the codebase to map to the
current atom/moles ones.

File:
1 edited

Legend:

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

    r3841 r4427  
    22declare default element namespace 'http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/'; 
    33declare variable $targetCollection as xs:string := 'TargetCollection'; 
     4<docs> 
     5{ 
    46for $DE in collection($targetCollection)/DIF/Entry_ID let $f:=util:document-name($DE) return  
    57<dgMetadataRecord> 
     
    810    <created>{xmldb:created(util:collection-name($DE),$f)}</created> 
    911</dgMetadataRecord> 
     12} 
     13</docs> 
Note: See TracChangeset for help on using the changeset viewer.