- Timestamp:
- 01/12/10 12:50:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService/trunk/xquery/cmd-model.xqm
r124 r125 75 75 :) 76 76 declare function cmd-model:get-result-doc($collection as xs:string, $type-name as xs:string, $depth as xs:integer) as item()* { 77 let $dummy := if (cmd-model:is-result-available($collection, fn:concat("/", $type-name, xs:string($depth)))) then 77 let $name-last := text:groups($type-name, "/(\w+)$")[last()], 78 $new-name := if (fn:empty($name-last)) then $type-name else $name-last, 79 $dummy := if (cmd-model:is-result-available($collection, fn:concat("/", $new-name, xs:string($depth)))) then 78 80 () 79 81 else
Note: See TracChangeset
for help on using the changeset viewer.