source: exist/trunk/xquery/MDIPList.xq @ 3841

Subversion URL:
Revision 3841, 450 bytes checked in by cbyrom, 13 years ago (diff)

Various updates to the xquery files - to remove usage of invalid specs
and dependency on obsolete function calls. Also add the inputParse_xquery_lib.xquery
file - referenced from the xquery files but not currently included in codebase.
NB, changes made to allow use of Saxon java library to do xqueries - to
remove the need for the discovery service eXist DB.

  • NB, also changes tested by comparing saxon transforms to eXist ones; these

were found to be identical.

1declare default element namespace '';
2declare variable $targetCollection as xs:string := 'TargetCollection';
3for $DE in collection($targetCollection)/Metadata/DatasetIdentifier
4let $f:=util:document-name($DE)
7    <fileName>{util:document-name($DE)}</fileName>
8    <created>{xmldb:created(util:collection-name($DE),$f)}</created>
Note: See TracBrowser for help on using the repository browser.