source: exist/trunk/xquery/numsim.xq @ 3118

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/trunk/xquery/numsim.xq
Revision 3118, 457 bytes checked in by lawrence, 12 years ago (diff)

Splitting out the (authoratative?) python xqueries into named
files within the new egg for exist (and other ndg utilities)

Line 
1(: This query returns a numsim document when TargetCollection and LocalID are
2    overwritten with real repository identifiers and local identifiers :)
3declare namespace n='http://ndg.nerc.ac.uk/numsim';
4declare namespace m='http://ndg.nerc.ac.uk/moles';
5for $DE in
6collection('TargetCollection')/n:simulationMetadata[*/n:id/m:schemeIdentifier='NumSim'
7and */n:id/m:repositoryIdentifier='RepositoryID' and */n:id/m:localIdentifier='LocalID']
8return $DE
Note: See TracBrowser for help on using the repository browser.