Project

Profile

Help

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

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

1
xquery version "1.0";
2

    
3
(: Additional use case to demonstrate use of default element namespace :)
4

    
5
declare default element namespace "http://www.example.com/AuctionWatch";
6

    
7
<Q7>
8
  {
9
    for $a in //Auction
10
    return
11
        <a seller="{$a/Trading_Partners/Seller/*:ID}"
12
           buyer="{$a/Trading_Partners/High_Bidder/*:ID}"
13
           />
14
  }
15
</Q7>
(2-2/19)