Sha256: 5d107551b87e85bf74384ada08705b42cad223b0df1cf0ab152b18c0041f72e8

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

<books-with-prices>
  {
    for $b in doc("http://bstore1.example.com/bib.xml")//book,
        $a in doc("http://bstore2.example.com/reviews.xml")//entry
    where $b/title = $a/title
    return
        <book-with-prices>
            { $b/title }
            <price-bstore2>{ $a/price/text() }</price-bstore2>
            <price-bstore1>{ $b/price/text() }</price-bstore1>
        </book-with-prices>
  }
</books-with-prices>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
magic_xml-0.1.1 xquery_use_cases/xmp/q5.xquery
magic_xml-0.1.0 xquery_use_cases/xmp/q5.xquery