Two new serialization methods are defined in the W3C version 3.1 specification, namely
adaptive. The specifications have not yet reached
complete stability, and there are relatively few test cases, but Saxon 9.7 includes provisional
implementations of both these serialization methods, for use both with XQuery and XSLT.