Project

Profile

Help

Download (262 Bytes) Statistics
| Branch: | Tag: | Revision:

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

1 a31dd97a Norman Walsh
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