Project

Profile

Help

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

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

1
declare namespace my="my.uri"
2
define function my:bid_summary()
3
  as element()*
4
{
5
for $i in distinct-values(doc("bids.xml")//itemno)
6
  let $b := doc("bids.xml")//bid_tuple[itemno = $i] 
7
  return <itemno>{ $i }</itemno>
8
}
9
my:bid_summary()  
10

    
11

    
12
        
(12-12/42)