source: ndgCommon/trunk/ndg/common/xmldb/xquery/atom.xq @ 4793

Subversion URL:
Revision 4793, 397 bytes checked in by cbyrom, 11 years ago (diff)

Checking in initial codebase for ndgUtils restructure.

1(: Return a specific atom document when TargetCollection and LocalID are overwritten :)
2declare default element namespace '';
3declare variable $targetCollection as xs:string := 'TargetCollection';
4declare variable $localIdentifier as xs:string := 'LocalID';
5for $DE in collection($targetCollection)/entry[matches(id, concat('__ATOM__',$localIdentifier,'$'))] return $DE
Note: See TracBrowser for help on using the repository browser.