


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Xquery is a programming language used for querying and manipulating xml data. An introduction to xquery, its mission, applications, versions, and relation with xdm. Xquery is a w3c recommendation and is supported by major databases. It is used to extract information for web services, generate summary reports, transform xml data to xhtml, and search web documents.
Typology: Slides
1 / 26
This page cannot be seen from the preview
Don't miss anything!
STUDENT NAME: MEHMET AKİF YÜCEL STUDENT ID: 2013400063 INSTRUCTOR: TAFLAN GÜNDEM CMPE 422 PRESENTATİON
What is XQuery? What is the mission of XQuery? What are its applications? What are different versions and their historical development? What is XDM and its relation with XQuery? What are XQuery extensions? How we implement XQuery?
A language for querying XML data XQuery for XML is like SQL for databases XQuery is built on XPath expressions XQuery is supported by all major databases XQuery is a W3C Recommendation
Extract information to use in a Web Service Generate summary reports Transform XML data to XHTML Search Web documents for relevant information
(^) The World Wide Web Consortium ( W3C ) is the main international standards organization for the World Wide Web. Versions
Sequences Items XQuery/XPath sequences differ from lists in languages like Lisp and Prolog by excluding nested sequences.
XQuery provides the means to extract and manipulate data from XML documents or any data source that can be viewed as XML, such as relational databases or office documents.
(^) XDM calls XQuery and XPath Data Model. (^) It is the data model shared by the XPath 2.0, XSLT 2.0 and XQuery programming languages. It is a W3C recommendation and forms an integral part of all three languages. (^) Originally, it was based on the XPath 1.0 data model which in turn is based on the XML Information Set . (^) You can see The XDM type hierarchy on the right.
All values as sequences. The items are in a sequence. Items either be XML nodes or atomic values. Atomic values may be integers, strings, booleans, and so on.
XQuery 3.0 was abandoned for lack of resources. Work on XQuery 3.0 was published as a Recommendation on 8 April 2014, and XQuery 3.1 is a Recommendation as at February 2017. A scripting (procedural) extension for XQuery was designed, but never completed.
(^) The EXPath Community Group develops extensions to XQuery and other related standards (XPath, XSLT, XProc, and XForms). The following extensions are currently available: (^) Packaging System (^) File Module (^) Binary Module (^) Web Applications
Functions Path Expressions Predicates FLWOR Select Nodes with FLWOR
XQuery uses functions to extract data from XML documents. The doc() function is used to open the "books.xml" file: doc("books.xml")