Skip to content

xsl:accept⚓︎

Allows a package to restrict the visibility of components exposed by a package that it uses.

Always appears as a child of xsl:use-package.

Available in XSLT 3.0. From Saxon 9.8, available in all editions. Implemented in Saxon-EE since Saxon 9.7.

Attributes⚓︎

component
"template" | "function" | "attribute-set" | "variable" | "mode" | "*"
Identifies the kind of component selected.
names
tokens
Identifies a subset of the specified components, by name.
visibility
"public" | "private" | "final" | "abstract" | "hidden"
Determines the potential visibility of the selected components.

Notes on the Saxon implementation⚓︎

New in XSLT 3.0, and implemented since Saxon 9.7.

See also⚓︎

Comments