source: ndgCommon/trunk/ndg/common/xmldb/xquery/dif.xq @ 6791

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/ndgCommon/trunk/ndg/common/xmldb/xquery/dif.xq@6791
Revision 6791, 403 bytes checked in by sdonegan, 10 years ago (diff)

Update to DIF_9.4 to work with updated ATOM records

Line 
1(: Return a specific DIF document when TargetCollection and LocalID are overwritten :)
2declare default element namespace 'http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/';
3declare variable $targetCollection as xs:string := 'TargetCollection';
4declare variable $localIdentifier as xs:string := 'RepositoryID:DIF_9.4:LocalID';
5for $DE in collection($targetCollection)/DIF[Entry_ID=$localIdentifier] return $DE
Note: See TracBrowser for help on using the repository browser.