-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
EnhancementA change or improvement to an existing featureA change or improvement to an existing featurePRG-easyCategorized as "easy" at the Prague f2f, 2024Categorized as "easy" at the Prague f2f, 2024PRG-optionalCategorized as "optional for 4.0" at the Prague f2f, 2024Categorized as "optional for 4.0" at the Prague f2f, 2024Reviewed-requiredTriage suggests this issue must be resolved for 4.0Triage suggests this issue must be resolved for 4.0XSLTAn issue related to XSLTAn issue related to XSLT
Description
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 allow xsl:use-package to contain zero or more xsl: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:importandxsl: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-locationshould 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-whenwould allow a developer to manage different versions of a package for different cases.
Other attributes given to xsl:package-location would need discussion.
Metadata
Metadata
Assignees
Labels
EnhancementA change or improvement to an existing featureA change or improvement to an existing featurePRG-easyCategorized as "easy" at the Prague f2f, 2024Categorized as "easy" at the Prague f2f, 2024PRG-optionalCategorized as "optional for 4.0" at the Prague f2f, 2024Categorized as "optional for 4.0" at the Prague f2f, 2024Reviewed-requiredTriage suggests this issue must be resolved for 4.0Triage suggests this issue must be resolved for 4.0XSLTAn issue related to XSLTAn issue related to XSLT