From f897a20f8dee667c2b2b8fa54d16c93b28625d1b Mon Sep 17 00:00:00 2001 From: Peter Stadler Date: Fri, 6 Jul 2018 23:51:34 +0200 Subject: [PATCH] rename function --- xquery/str.xqm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xquery/str.xqm b/xquery/str.xqm index 2c77926..7e8c504 100644 --- a/xquery/str.xqm +++ b/xquery/str.xqm @@ -50,7 +50,7 @@ declare function str:join-path-elements($segs as xs:string*) as xs:string { : @author Peter Stadler : @return xs:string :) -declare function str:printFornameSurname($name as xs:string?) as xs:string? { +declare function str:print-forename-surname($name as xs:string?) as xs:string? { let $clearName := str:normalize-space($name) return if(functx:number-of-matches($clearName, ',') eq 1)