Changeset 248
- Timestamp:
- 03/17/10 23:50:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService/trunk/xquery/cmd-model.xqm
r246 r248 43 43 declare function cmd-model:paths($n) { 44 44 for $el in $n 45 return <elem name="{$el/name()}" 45 return <elem name="{$el/name()}"> { 46 46 for $anc in $el/parent::element() 47 47 return util:node-xpath($anc) … … 168 168 :) 169 169 declare function cmd-model:get-doc-type-element-name($type-name as xs:string) as xs:string { 170 let $name-last := text:groups($type-name, "/(\w+)$")[last()] ,170 let $name-last := text:groups($type-name, "/(\w+)$")[last()] 171 171 return 172 172 if (fn:empty($name-last)) then $cmd-model:ModelTrees else $cmd-model:Terms
Note: See TracChangeset
for help on using the changeset viewer.