summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-01-24 11:59:09 +0100
committerAndrew Branson <andrew.branson@cern.ch>2014-01-24 11:59:09 +0100
commite9ac598af467d2537c28c38838b0930ac92fd349 (patch)
tree1878fde3f1805cf0e11f20b3dbe3f00ffe4f77b6
parentdc9a24f3f587fe837355e1f78f50a53cb679756e (diff)
Set namespace to 'cristal'
-rw-r--r--src/main/resources/cristal-function-lib.xql4
1 files 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)