Support xsl:use-package with xsl:package-location #366
Labels
Enhancement
A change or improvement to an existing feature
PRG-easy
Categorized as "easy" at the Prague f2f, 2024
PRG-optional
Categorized as "optional for 4.0" at the Prague f2f, 2024
XSLT
An issue related to XSLT
Unless I am misreading the specs (which I do commonly enough), there is currently no way for an XSLT writer using
xsl:use-package
to indicate where the package is to be found, except outside the XSLT environment. I propose to allowxsl:use-package
to contain zero or morexsl:package-location
children. I propose the addition of an element and not an attribute, because a package may be in multiple locations, and need nuance, as noted below.Attributes:
@href
, on the model ofxsl:import
andxsl:include
, would specify by relative or absolute URI where the package is.@priority
(default 0) would provide a mechanism to indicate whether the specifiedxsl:package-location
should override (value greater than 0), or simply provide a fallback for (less than or equal to 0), the preconfigured place the package should be retrieved from.@use-when
would allow a developer to manage different versions of a package for different cases.Other attributes given to
xsl:package-location
would need discussion.The text was updated successfully, but these errors were encountered: