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

Subversion URL:
Revision 6791, 403 bytes checked in by sdonegan, 10 years ago (diff)

Update to DIF_9.4 to work with updated ATOM records

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_9.4:LocalID';
5for $DE in collection($targetCollection)/DIF[Entry_ID=$localIdentifier] return $DE
Note: See TracBrowser for help on using the repository browser.