Project

Profile

Help

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

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

1
declare namespace ma = "http://www.example.com/AuctionWatch";
2

    
3
<Q7>
4
  {
5
    for $a in //ma:Auction
6
    let $seller_id := $a/ma:Trading_Partners/ma:Seller/*:ID,
7
        $buyer_id := $a/ma:Trading_Partners/ma:High_Bidder/*:ID
8
    where namespace-uri($seller_id) = namespace-uri($buyer_id)
9
    return
10
        $a/ma:AuctionHomepage
11
  }
12
</Q7>
(17-17/19)