diff --git a/add/data/xqm/edition.xqm b/add/data/xqm/edition.xqm index 7318e0431eb17d9f5fcd81074a26a85802925395..17f8ee9d8c5aa1d596efc8dd6c39b6e2de7d25b3 100644 --- a/add/data/xqm/edition.xqm +++ b/add/data/xqm/edition.xqm @@ -159,14 +159,14 @@ declare function edition:getEditionURI($editionIDorPath as xs:string?) as xs:str (:~ : Returns the name of the edition specified by $uri + : This is a shortcut function for `edition:details($uri)?name` + : and might get deprecated in the future. : : @param $uri The URI of the Edition's document to process : @return the text contents of edirom:edition/edirom:editionName :) declare function edition:getName($uri as xs:string) as xs:string { - - doc($uri)/edirom:edition/edirom:editionName => fn:normalize-space() - + edition:details($uri)?name }; (:~