1 / 5

Querying XML

Querying XML. XQuery. XQuery. Querying XML Not nearly as mature as Querying Relational Newer No underlying algebra Sequence of development 1. XPath 2. XSLT 3. XQuery. XQuery. XQuery Expression language (compositional) Each expression operates on & returns

blanca
Download Presentation

Querying XML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Querying XML XQuery

  2. XQuery Querying XML Not nearly as mature as Querying Relational • Newer • No underlying algebra Sequence of development 1. XPath 2. XSLT 3. XQuery

  3. XQuery XQuery • Expression language (compositional) • Each expression operates on & returns sequence of elements • XPath is one type of expression

  4. XQuery XQuery: FLWOR expression • All except Return are optional • For and Let can be repeated and interleaved • For$varinexpr • Let $var:=expr Where condition Order Byexpr Returnexpr

  5. XQuery Mixing queries and XML <Result> {…query goes here…} </Result> Demo: XQueryexamples over bookstore data

More Related