List of XSLT extension functions to register.
XSLT version these extensions implement.
OptionalcontextOptional: Additional context properties needed by XSLT functions. For example, key definitions for key() function, or document cache for document().
Optionalkeys?: Record<string, { match: string; use: string }>Key definitions from xsl:key elements. Format: { keyName: { match: string, use: string } }
OptionaldocumentLoader?: (uri: string, baseUri?: string) => XPathNodeDocument loader for document() function.
OptionaldecimalFormats?: Record<string, any>Decimal format definitions from xsl:decimal-format elements. Used by format-number() function.
OptionalsystemProperties?: Record<string, string>System properties for system-property() function.
XSLT Extensions bundle that can be passed to the XPath parser.
This interface allows the xslt-processor package to provide XSLT-specific functions while keeping the xpath library pure XPath 1.0.