From e9ac598af467d2537c28c38838b0930ac92fd349 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Fri, 24 Jan 2014 11:59:09 +0100 Subject: Set namespace to 'cristal' --- src/main/resources/cristal-function-lib.xql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/cristal-function-lib.xql b/src/main/resources/cristal-function-lib.xql index 3fd719d..273727f 100644 --- a/src/main/resources/cristal-function-lib.xql +++ b/src/main/resources/cristal-function-lib.xql @@ -1,4 +1,4 @@ -declare function local:getOutcomeFromView($coll as xs:string, $view as node()) as xs:string +declare function cristal:getOutcomeFromView($coll as xs:string, $view as node()) as xs:string { let $schemaName := $view/@SchemaName let $schemaVersion := $view/@SchemaVersion @@ -6,7 +6,7 @@ declare function local:getOutcomeFromView($coll as xs:string, $view as node()) a return fn:string-join(($coll,'/','Outcome.',$schemaName,'.',$schemaVersion,'.',$eventId),'') }; -declare function local:getCollByType($typeName as xs:string) as xs:string* +declare function cristal:getCollByType($typeName as xs:string) as xs:string* { for $prop in //Property[@name="CfCName"] let $itemColl := util:collection-name($prop) -- cgit v1.2.3