XQuery TutorialLesson 66Free preview
XQuery Introduction
This lesson is part of XML · All levels
Summary
XQuery is a standard W3C query and functional language for retrieving, manipulating, and modifying XML data, often called its XML SQL. XQuery is built on XPath 2.0/3.0 so that all legitimate XPath expressions are used in it. XQuery is case-sensitive and runs on XML databases such as eXist-db, BaseX, and MarkLogic, as well as some RDBMS.
Key points
- XQuery is a W3C query language for XML data
- Combining XPath, the element constructor, the function, and the FLWOR expression
- Main versions: XQuery 1.0 (2007) and XQuery 3.1 (2017)
- Case-sensitive: doc() is different from Doc()
- It is used in XML databases and supports HTML/JSON output
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.