Project

Profile

Help

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

he / src / use-cases / strong / q6.xq @ a31dd97a

1
import schema namespace ipo="http://www.example.com/IPO" at "ipo.xsd";
2

    
3
for $p in doc("ipo.xml")/schema-element(ipo:purchaseOrder),
4
    $b in $p/billTo
5
where not( $b instance of element(*, ipo:USAddress))
6
  and exists( $p//USPrice )
7
return $p
(19-19/27)