Changeset 4201 for exist


Ignore:
Timestamp:
17/09/08 12:16:12 (11 years ago)
Author:
cbyrom
Message:

Update atom xquery to allow searching on new atom id format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/xquery/atom.xq

    r4161 r4201  
    33declare variable $targetCollection as xs:string := 'TargetCollection'; 
    44declare variable $localIdentifier as xs:string := 'LocalID'; 
    5 for $DE in collection($targetCollection)/entry[id=$localIdentifier] return $DE 
     5for $DE in collection($targetCollection)/entry[matches(id, concat($localIdentifier,'$'))] return $DE 
Note: See TracChangeset for help on using the changeset viewer.