xsl:use-package

Used to allow components of one package to be referenced within another.

Category: declaration
Content: ( xsl:accept | xsl:override )*
Permitted parent elements: xsl:package ; xsl:stylesheet ; xsl:transform

Attributes

name

uri

The name of the package to be used, as an absolute URI.

package-version?

string

The version of the named package to be used. The default is *, which matches any version.

Notes on the Saxon implementation

New in XSLT 3.0, and first fully implemented in Saxon 9.7.

There is no machinery in Saxon 9.7 for selecting a particular version of a package when multiple versions are available, though when a package is selected, the actual version must match the required version.

Links to W3C specifications

XSLT 3.0 Specification

See also

xsl:accept

xsl:override

xsl:package