Changeset 798 for MDRepository
- Timestamp:
- 10/16/10 21:41:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDRepository/trunk/xquery/cmd-model.xqm
r792 r798 123 123 $text-count-distinct := count(distinct-values($text-nodes)) 124 124 return 125 <Term path="{fn:concat("//", $path)}" name="{ text:groups($path, "/([^/]+)$")[last()]}" count="{$path-count}" count_text="{$text-count}" count_distinct_text="{$text-count-distinct}">{125 <Term path="{fn:concat("//", $path)}" name="{(text:groups($path, "/([^/]+)$")[last()],$path)[1] }" count="{$path-count}" count_text="{$text-count}" count_distinct_text="{$text-count-distinct}">{ 126 126 if ($depth > 0) then 127 127 (for $elname in $subs[. != '']
Note: See TracChangeset
for help on using the changeset viewer.