3
for $b in doc("http://bstore1.example.com/bib.xml")//book,
4
$a in doc("http://bstore2.example.com/reviews.xml")//entry
5
where $b/title = $a/title
9
<price-bstore2>{ $a/price/text() }</price-bstore2>
10
<price-bstore1>{ $b/price/text() }</price-bstore1>