spezielles Template für das System der Stabi Berlin
string-join(for $book in $renew-books return x"{uri-encode($book.extendId)}=YES", "&")
encode-for-uri( string-join(
(if ($book.title) then concat("xtit ", $book.title) else (),
if ($book.author) then concat("xprs ", $book.author) else (),
if ($book.isbn) then concat("xisb ", $book.isbn) else (),
if ($book.year) then concat("xjah ", $book.year) else (),
if ($book.keywords) then concat("xslw ", $book.keywords) else ()), " UND "))
0
$i + 1