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

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

Fix a couple of small formatting problems in atomutilities + create
test suite to properly test this + add a fix to the dif.xq and improve
the efficiency of the atom2DIF xquery.

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