Changeset 619 for MDRepository
- Timestamp:
- 08/12/10 12:03:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDRepository/trunk/xquery/cmd-model.xqm
r618 r619 91 91 <c n="{$parent}" cnt="{sum($child-results/@cnt)}">{$child-results}</c> 92 92 else 93 <c n="{$parent}" cnt="{count( $collection//CMD)}"></c>93 <c n="{$parent}" cnt="{count(collection(concat(util:collection-name($collection/CMD[1]/root()), "/../"))//CMD)}"></c> 94 94 }; 95 95 … … 254 254 ($cmd-model:commonFreqsPath, cmd-model:make-compound-doc-name($collections, "collection", $max-depth)) 255 255 else 256 ($collections, $cmd-model:collectionDocName),256 ($collections, concat($cmd-model:collectionDocName, xs:string($max-depth))), 257 257 $dummy := 258 258 if (cmd-model:is-doc-available($names[1], $names[2])) then
Note: See TracChangeset
for help on using the changeset viewer.