W3C

XSLT and XQuery Serialization 3.1

W3C Recommendation 21 March 2017

Status Update (6 April 2021): Feedback, comments, error reports on this specification should be sent via GitHub https://github.com/w3c/qtspecs/issues or email to [email protected].

This version:
https://www.w3.org/TR/2017/REC-xslt-xquery-serialization-31-20170321/
Latest version of XSLT and XQuery Serialization 3.1:
https://www.w3.org/TR/xslt-xquery-serialization-31/
Previous versions of XSLT and XQuery Serialization 3.1:
https://www.w3.org/TR/2017/PR-xslt-xquery-serialization-31-20170117/
https://www.w3.org/TR/2016/CR-xslt-xquery-serialization-31-20161213/
https://www.w3.org/TR/2015/CR-xslt-xquery-serialization-31-20151217/
Most recent version of XSLT and XQuery Serialization 3:
https://www.w3.org/TR/xslt-xquery-serialization-3/
Most recent version of XSLT and XQuery Serialization:
https://www.w3.org/TR/xslt-xquery-serialization/
Most recent Recommendation of XSLT and XQuery Serialization:
https://www.w3.org/TR/2014/REC-xslt-xquery-serialization-30-20140408/
Editors:
Andrew Coleman, IBM Hursley Laboratories <[email protected]>
C. M. Sperberg-McQueen, Black Mesa Technologies <http://blackmesatech.com/>

Please check the errata for any errors or issues reported since publication.

See also translations.

This document is also available in these non-normative formats: XML and Change markings relative to previous Working Draft.


Abstract

This document defines serialization of an instance of the data model as defined in [XQuery and XPath Data Model (XDM) 3.1] into a sequence of octets. Serialization is designed to be a component that can be used by other specifications such as [XSL Transformations (XSLT) Version 3.0] or [XQuery 3.1: An XML Query Language].

Status of this Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.

This document is governed by the 1 March 2017 W3C Process Document.

This is a Recommendation of the W3C.

This document was published by the W3C XSLT Working Group and the W3C XML Query Working Group, each of which is part of the XML Activity.

This Recommendation specifies XSLT and XQuery Serialization version 3.1, a fully compatible extension of Serialization version 3.0.

This specification is designed to be referenced normatively from other specifications defining a host language for it; it is not intended to be implemented outside a host language. The implementability of this specification has been tested in the context of its normative inclusion in host languages defined by the XQuery 3.1 and XSLT 3.0 (expected in 2017) specifications; see the XQuery 3.1 implementation report (and, in the future, the WGs expect that there will also be an XSLT 3.0 implementation report) for details.

No substantive changes have been made to this specification since its publication as a Proposed Recommendation.

Please report errors in this document using W3C's public Bugzilla system (instructions can be found at https://www.w3.org/XML/2005/04/qt-bugzilla). If access to that system is not feasible, you may send your comments to the W3C XSLT/XPath/XQuery public comments mailing list, [email protected]. It will be very helpful if you include the string