XML is a versatile markup language, capable of labeling the information content of diverse data sources including structured and semi-structured documents, relational databases, and object repositories. A query language that uses the structure of XML intelligently can express queries across all these kinds of data, whether physically stored in XML or viewed as XML via middleware. This specification describes a query language called XQuery, which is designed to be broadly applicable across many types of XML data sources. XQuery 3.0 is an extended version of the XQuery 1.0 Recommendation published on 23 January 2007. A list of changes made since XQuery 1.0 can be found in J Change Log. Here are some of the new features in XQuery 3.0: 0. group by clause in FLWOR Expressions (3.10.7 Group By Clause). 1. tumbling window and sliding window in FLWOR Expressions (3.10.4 Window Clause). 2. count clause in FLWOR Expressions (3.10.6 Count Clause). 3. allowing empty in 3.10.2 For Clause, for functionality similar to outer joins in SQL. 4. try/catch expressions (3.15 Try/Catch Expressions). 5. Dynamic function call (3.2.2 Dynamic Function Call ). 6. Inline function expressions (3.1.7 Inline Function Expressions). 7. Private functions (4.18 Function Declaration). 8. Switch expressions (3.13 Switch Expression). 9. Computed namespace constructors (3.9.3.7 Computed Namespace Constructors). 10. Output declarations (2.2.4 Serialization). 11. Annotations (4.15 Annotations). 12. Function assertions in function tests. 13. A string concatenation operator (3.6 String Concatenation Expressions). 14. A mapping operator (3.17 Simple map operator (!)).
Owner
Standardisation body
Published on
Last update
Status
Under development
Only facilitators and authors can create content.
Moderated