Changeset 959 for MDRepository
- Timestamp:
- 12/03/10 14:57:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDRepository/trunk/xquery/cmd-model.xqm
r834 r959 252 252 :) 253 253 declare function cmd-model:get-resource-count($handle as xs:string) as xs:string { 254 xs:string(count(collection($cmd-model:cmdiMirrorPath)//IsPartOf[. eq $handle]/ancestor::CMD[descendant::ResourceType[. = "Resource"] or not(exists(descendant::ResourceType)) ])) 255 }; 254 (: xs:string(count(collection($cmd-model:cmdiMirrorPath)//IsPartOf[. eq $handle]/ancestor::CMD[descendant::ResourceType[. = "Resource"] or not(exists(descendant::ResourceType)) ])):) 255 xs:string(count(collection($cmd-model:cmdiMirrorPath)//IsPartOf[. eq $handle]/ancestor::CMD[not(descendant::ResourceType eq 'Metadata') ])) 256 }; 257 256 258 257 259 (:
Note: See TracChangeset
for help on using the changeset viewer.