source: exist/trunk/xquery/DIFList.xq @ 3128

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/trunk/xquery/DIFList.xq@3158
Revision 3128, 387 bytes checked in by lawrence, 12 years ago (diff)

The dif2moles round tripping is in place (but the comparison doesn't
work and needs analysis).

Line 
1(: This is a DIF listing query for TargetCollection - returns EntryIDs and the files in which they exist :)
2declare default element namespace 'http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/';
3for $DE in collection('TargetCollection')/DIF/Entry_ID return
4<dgMetadataRecord>
5    <repositoryID>{string($DE)}</repositoryID>
6    <fileName>{util:document-name($DE)}</fileName>
7</dgMetadataRecord>
Note: See TracBrowser for help on using the repository browser.