1 Introduction
2 XML Schema
3 XSLT Stylesheet
4 Normative References
5 Non-Normative References
This document describes the namespace
http://www.w3.org/2005/XQueryX
defined by the [XQueryX 3.1] specification (March 2017
version). This namespace is typically identified by the namespace
prefix xqx:
, which is not a predefined
prefix. For updated information, please refer to the latest version
of the [XQueryX 3.1]
specification.
This document contains a directory of links to related resources, using RDDL (as defined in [Resource Directory Description Language (RDDL)]).
It is GRDDL-enabled (as defined in [Gleaning Resource Descriptions from Dialects of Languages (GRDDL)]), that is to say that a GRDDL-compliant processor can extract useful RDF (as defined in [Resource Description Framework (RDF): Concepts and Abstract Syntax]) representations of the information contained herein.
There are two syntaxes in which [XQuery 3.1] queries can be written. One is the so-called human-readable syntax defined by [XQuery 3.1], while the other is an XML syntax for XQuery defined by [XQueryX 3.1].
XQueryX, as defined in [XQueryX
3.1], is specified in the namespace
http://www.w3.org/2005/XQueryX
, which is defined by an
XML Schema.
This schema specifies the XML syntax of the XQuery expressions defined in [XQuery 3.1]. It is located at http://www.w3.org/2017/03/XQueryX/xqueryx.xsd.
XQuery 3.1 queries written using the XML syntax must be valid
according to that schema. Validation must be performed as defined
by [XML Schema Part 1: Structures Second
Edition], using strict validation, full validation attempted,
using the <xqx:module>
element as the validation
root. The result of that validation must not be invalid or
notKnown.
Queries written using the XML syntax of [XQuery 3.1] have semantics that are defined by the XQuery "human-readable" syntax that results from transforming those XML syntax queries using the stylesheet located at http://www.w3.org/2017/03/XQueryX/xqueryx.xsl.
XQueryX 3.1 (21 March 2017 version)
This document describes the names that are defined in this namespace at the time of publication. The W3C reserves the right to define additional names in this namespace in the future. [XQueryX 3.1] is the only specification that is permitted to amend this namespace. It may, however, be augmented by other specifications that define XQueryX 3.1 extensions corresponding to XQuery 3.1 extensions.
XQuery 3.1 Requirements (13 December 2016 version)
XQuery 3.1 (21 March 2017 version)
Resource Directory Description Language (RDDL) (4 July 2007)
Gleaning Resource Descriptions from Dialects of Languages (GRDDL) (Recommendation of 11 September 2007)
Resource Description Framework (RDF): Concepts and Abstract Syntax (Recommendation of 10 February 2004)
XML Schema Part 1: Structures Second Edition (Recommendation of 28 October 2004)