DCoding.Xml.Xslt.Exslt 1.0.1

dotnet add package DCoding.Xml.Xslt.Exslt --version 1.0.1
                    
NuGet\Install-Package DCoding.Xml.Xslt.Exslt -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DCoding.Xml.Xslt.Exslt" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DCoding.Xml.Xslt.Exslt" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="DCoding.Xml.Xslt.Exslt" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DCoding.Xml.Xslt.Exslt --version 1.0.1
                    
#r "nuget: DCoding.Xml.Xslt.Exslt, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DCoding.Xml.Xslt.Exslt@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DCoding.Xml.Xslt.Exslt&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=DCoding.Xml.Xslt.Exslt&version=1.0.1
                    
Install as a Cake Tool

DCoding.Xml.Xslt.Exslt

V1.0 technical selection: Community, Professional. Declared assets/hosts: net8.0, net11.0. See the current edition and API/runtime catalog for mode and host limits. Selection and retained development results do not replace final artifact qualification, the supplied license or human release approval.

This optional migration package has no automatic registration. Select an exact namespace allowlist for each compilation:

using DCoding.Xml.Xslt;
using DCoding.Xml.Xslt.Exslt;

var options = new XsltCompileOptions("memory://application/transform.xsl") {
    FunctionHost = ExsltFunctionProvider.CreateHost(
        new[] { ExsltFunctionProvider.CommonNamespace })
};

An empty allowlist returns null; unknown URIs, alternate casing and wildcards are rejected. The immutable host snapshots the selection, so later collection changes cannot broaden a compiled stylesheet's authority. Namespace prefixes are irrelevant.

The Common selection supplies exsl:node-set (version 4) and exsl:object-type (version 2). Node-set preserves node identities, exposes temporary-tree content, and converts other values through XPath 1.0 string() to a fresh text node, including the empty string. The original fragment remains unchanged. Set options.StrictXslt10Semantics = true for a legacy XSLT 1.0 host that must retain result-tree-fragment restrictions. object-type reports RTF for those values and node-set for modern temporary trees. Modern non-XPath-1.0 item types report external. The strict host also retains XSLT 1.0 stylesheet whitespace rules, including comment boundaries and explicit xml:space preservation.

Select ExsltFunctionProvider.SetsNamespace independently or alongside Common to enable set:difference, set:intersection, set:has-same-node, set:distinct, set:leading and set:trailing. Node identity, duplicate removal and ordering use the existing XPath set operations. Distinct uses the first node in document order for each ordinal string value. Leading/trailing return empty when the first boundary node is absent from the first set; an empty boundary returns the first set. Convert legacy fragments explicitly with Common node-set before calling Sets functions. Selecting Sets alone leaves Common unavailable. Host bindings use the existing XPath/XSLT compile and execution pipeline, without reflection or dynamic code.

Select ExsltFunctionProvider.StringsNamespace to enable str:align, concat, padding, replace, split, tokenize, encode-uri and decode-uri. Common, Sets and Strings may be selected together; each exact selection has its own saved-plan host identity and must be explicitly rebound on load. String conversions use XPath 1.0 semantics even in modern stylesheets. Node-set arguments are ordered and deduplicated through the existing XPath engine. Unicode character operations preserve supplementary characters. Split uses a literal pattern; tokenize uses individual delimiter characters. Replace returns fresh nodes, uses the longest searches first, and rejects attribute/namespace replacements with XPTY0004.

URI functions support UTF-8, US-ASCII and ISO-8859-1 without process-wide encoding registration. Unknown encodings return an empty string. Decode ignores invalid encoded octets and keeps malformed percent escapes and literal plus signs. Strings scalar inputs and construction are bounded to 16 Mi UTF-16 code units per string and one Mi tokens/replacement segments/output nodes (including copied subtrees); oversized requests fail with XPTY0004. Padding truncates positive fractional lengths and returns empty for NaN/negative lengths. All callbacks observe request cancellation and share no mutable request state. See samples/m39-exslt-strings for all eight functions and saved-plan rebinding. The combined samples/m39-exslt-migration consumer demonstrates all sixteen functions, strict/modern migration parity and explicit saved-plan authority.

exsl:document is outside the selected migration slice and is no longer an implicitly enabled core instruction. Standard extension fallback rules apply. No extension element, script, resource resolver or secondary-output authority is installed. The hardened XMLDSIG profile does not accept this host and continues to reject EXSLT calls. Ordinary core packages have no dependency on this package.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 51 11/20/2026

Stable 1.0.1: licensing and packaging correction delivery. Public APIs and edition rights are unchanged.