<BODY>
 <t:switch prioritized="true">
    <DIV class="main">
      <div class="search-stats">
        <strong/>
        <strong>{$search-result-count := translate(., ".,", "") ! xs:integer(.)}</strong>+
      </div>
 
        <UL class="recordSet">
          <t:loop> 
            <LI class="result">
              <div class="result-body">
                 <A class="title">{$book := {"title": normalize-space(), "home-url": resolve-html(.) } }</A>
                 {let $authors := .//A[contains(@href, "type=Author")]
                  return ($book.author := join($authors, "; "),
                    $book.year := extract($authors[last()]/following-sibling::br/following-sibling::text()[1], "[0-9]+\s*$")
                  ) }
              </div>
            </LI>

          </t:loop>
        </UL>
        <ul class="pagination">
          {$next-page := ()}
          <li><a class="page-next">{$next-page := resolve-html(.)}</a></li>?
        </ul>
 
    </DIV>
 

  <h2>Keine Ergebnisse!<t:s>$search-result-count:=0, $next-page := ()</t:s></h2>
  <div class="error">{vl:raise(.)}</div>
 </t:switch>
</BODY>
