Changeset 749 for MDRepository


Ignore:
Timestamp:
10/05/10 16:02:10 (14 years ago)
Author:
ljo
Message:

cmd-model.xqm - doh, apply the selection for the children ...

File:
1 edited

Legend:

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

    r747 r749  
    6464            (for $elname in $subs[. != '']
    6565            return
    66               cmd-model:elem-r($path-nodes, concat($path, '/', $elname), $max-depth, $depth - 1),
     66              cmd-model:elem-r(util:eval(concat("$path-nodes/", $elname)), concat($path, '/', $elname), $max-depth, $depth - 1),
    6767              if ($max-depth eq 1 and $text-count gt 0) then cmd-model:values($path-nodes) else ())
    6868          else 'maxdepth'
Note: See TracChangeset for help on using the changeset viewer.