Changeset 798 for MDRepository


Ignore:
Timestamp:
10/16/10 21:41:30 (14 years ago)
Author:
vronk
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDRepository/trunk/xquery/cmd-model.xqm

    r792 r798  
    123123        $text-count-distinct := count(distinct-values($text-nodes))
    124124        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}">{
    126126          if ($depth > 0) then
    127127            (for $elname in $subs[. != '']
Note: See TracChangeset for help on using the changeset viewer.