Project

Profile

Help

How to connect?
Download (350 Bytes) Statistics
| Branch: | Revision:

he / src / use-cases / r / q7.xq @ a31dd97a

1
let $allbikes := doc("items.xml")//item_tuple
2
                    [contains(description, "Bicycle") 
3
                     or contains(description, "Tricycle")]
4
let $bikebids := doc("bids.xml")//bid_tuple[itemno = $allbikes/itemno]
5
return
6
    <high_bid>
7
      { 
8
        max(for $z in $bikebids/bid return number($z)) 
9
      }
10
    </high_bid>
(37-37/42)