Project

Profile

Help

Bug #3384 » context-error.xq

Priscilla Walmsley, 2017-08-10 21:49

 
xquery version "3.0";
let $prods := doc("catalog.xml")//product
for $prod in $prods
where $prod << $prods[@dept = $prod/@dept][last()]
return $prod (: example.Using-an-order-comparison :)
(2-2/2)