Skip to content
Snippets Groups Projects
Verified Commit 81663531 authored by Peter Stadler's avatar Peter Stadler
Browse files

fix edition:details

apply string normalization to enforce a string value to be returned (instead of an element node).
parent ea3d1532
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ declare function edition:details($uri as xs:string) as map(*) {
map {
"id": $edition/string(@xml:id),
"doc": $uri,
"name": $edition/edirom:editionName
"name": $edition/edirom:editionName => fn:normalize-space()
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment