Changeset 4161 for exist/trunk


Ignore:
Timestamp:
02/09/08 16:44:45 (11 years ago)
Author:
cbyrom
Message:

Rename atom xquery file to make more generic.

File:
1 moved

Legend:

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

    r4026 r4161  
    1 (: Return a specific granule atom document when TargetCollection and LocalID are overwritten :) 
    2 for $DE in collection('TargetCollection')/entry return $DE 
     1(: Return a specific atom document when TargetCollection and LocalID are overwritten :) 
     2declare default element namespace 'http://www.w3.org/2005/Atom'; 
     3declare variable $targetCollection as xs:string := 'TargetCollection'; 
     4declare variable $localIdentifier as xs:string := 'LocalID'; 
     5for $DE in collection($targetCollection)/entry[id=$localIdentifier] return $DE 
Note: See TracChangeset for help on using the changeset viewer.