<t:element class="data">
  { let $rows := (.//tr[td//a[contains(@href, "requestItem.do")]], 
                  .//div[contains-token(@class, "row") and .//a[contains(@href, "requestItem.do")]])
    return (
    $book.orderable := exists($rows),
    $book._orderCount := count($rows),
    for $r at $i in $rows return (
      $book("_order" || $i) := resolve-html($r//a),
      $book("_orderTitle" || $i) := inner-text($r)
    )
    )
  }
</t:element>
