{ declare function local:img-to-status($img){ switch (extract($img/@src, "verfu_(.*)[.](gif|png)", 1)) case "ja" return "available" case "nein" return "lend" case "info" return "virtual" default return "unknown" }; (id("R06"), id("R03"))!string()[matches(., "(Gesucht|Treffer).*:")][1]! ( let $temp := extract(., "(([0-9]+)[^0-9]+([0-9]+)[^0-9]+)?([0-9]+)$", (2,4)) return ( $firstIndex := number($temp[1]), (:$lastIndex := number($temp[2]),:) $search-result-count := xs:integer($temp[2])) ), lastSearchedIndex := get("lastSearchedIndex", 0) (: for unittests :) } Trefferliste
  • Vorwärts {search-next-page-available := not(./input/@disabled), form := form(//form) }
*
{lastIndex := if (. castable as xs:integer) then xs:integer(.) else get("lastIndex", 1) } { book := { "title": extract(., "^[^/]+"), "author": extract(., "^[^/]+/([^-]+)", 1), "publisher": extract(., "-([^-]+)$", 1), "_searchId": encode-for-uri(concat("ZTEXT ", extract(@href, "\('(.*)'\)", 1))), "_index": $lastIndex } } Volltext? {book.statusId := local:img-to-status(.) } {book.year := ., lastSearchedIndex := $lastIndex}
  • {$title := .}
    {$globyear := .}
    ?
    {lastIndex := xs:integer(.)}
    {book := { "title": $title, "_searchId": encode-for-uri(concat("ZTEXT ", extract($title//a/@href, "\('(.*)'\)", 1))), "_index": $lastIndex, "year": $globyear }, lastSearchedIndex := $lastIndex}
    {let $temp := tokenize(., "-")!normalize-space(), $year := $temp[last()][. castable as xs:integer], $autpubcount := count($temp) - (if (exists($year)) then (1, $book.year := $year)[1] else 0) return switch ($autpubcount) case 0 return () case 1 return $book.author := $temp[1] default return ( $book.author := $temp[1], $book.publisher := $temp[$autpubcount] )}
    {book.statusId := local:img-to-status(.)}
    ?
  • +

Ihre Suche erzielte keinen Treffersearch-result-count := 0

Ihre Suche im Verbund erzielte keinen Treffersearch-result-count := 0

Die Person wurde nicht gefundensearch-result-count := 0

Vollanzeige {backButtonName := uri-encode(@name)} {backButtonName := uri-encode(@name)} {gotDetails_GoBackPage := form(.), gotDetails_GoBackPage.post := x"{$gotDetails_GoBackPage.post}&{$backButtonName}.x=0&{$backButtonName}.y=0" }

{vl:raise(.)}