Used to declare whether a global context item is required, and if so, to declare its required type.
The required type of the global context item;
the default is
Specifies whether a stylesheet module requires
a global context item; the default is
Available in XSLT 3.0. From Saxon 9.8, available in all editions. Requires Saxon-PE or Saxon-EE. Implemented since Saxon 9.7. Available for all platforms.
Notes on the Saxon implementation
Implemented since Saxon 9.7.
An earlier draft of the XSLT 3.0 specification defined attributes
use-accumulators (to define which
accumulators are available with the document containing the global context item)
xsl:global-context-item. These were briefly implemented in Saxon
but have now been dropped.