PhoenixmlDb.Xslt
1.3.17
See the version list below for details.
dotnet add package PhoenixmlDb.Xslt --version 1.3.17
NuGet\Install-Package PhoenixmlDb.Xslt -Version 1.3.17
<PackageReference Include="PhoenixmlDb.Xslt" Version="1.3.17" />
<PackageVersion Include="PhoenixmlDb.Xslt" Version="1.3.17" />
<PackageReference Include="PhoenixmlDb.Xslt" />
paket add PhoenixmlDb.Xslt --version 1.3.17
#r "nuget: PhoenixmlDb.Xslt, 1.3.17"
#:package PhoenixmlDb.Xslt@1.3.17
#addin nuget:?package=PhoenixmlDb.Xslt&version=1.3.17
#tool nuget:?package=PhoenixmlDb.Xslt&version=1.3.17
PhoenixmlDb.Xslt
XSLT 4.0 transformation engine for PhoenixmlDb — transform XML documents into HTML, JSON, CSV, text, or other XML formats.
Features
- XSLT 3.0/4.0 — template matching, streaming, accumulators, packages, maps/arrays
- All output methods — HTML5, XML, XHTML, JSON, text, CSV, adaptive
- Multiple outputs —
xsl:result-documentfor multi-file generation - Full XPath 4.0 — 240+ built-in functions available in all expressions
- Packages — reusable stylesheet libraries with visibility control
Quick example
using PhoenixmlDb.Xslt;
var transformer = new XsltTransformer();
await transformer.LoadStylesheetAsync(
File.ReadAllText("style.xsl"),
new Uri(Path.GetFullPath("style.xsl")));
transformer.SetParameter("title", "My Report");
var html = await transformer.TransformAsync(
File.ReadAllText("data.xml"));
// Handle secondary outputs (xsl:result-document)
foreach (var (href, content) in transformer.SecondaryResultDocuments)
File.WriteAllText(Path.Combine(outputDir, href), content);
See the full API overview in the README.
Related packages
| Package | Description |
|---|---|
| PhoenixmlDb.Core | Core types and XDM data model (dependency) |
| PhoenixmlDb.XQuery | XQuery 4.0 query engine (dependency) |
| PhoenixmlDb.Xslt.Cli | xslt command-line tool |
Documentation
Full documentation at phoenixml.dev
License
Apache 2.0
| Product | Versions 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 is compatible. 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. |
-
net10.0
- PhoenixmlDb.Core (>= 1.1.4)
- PhoenixmlDb.XQuery (>= 1.3.11)
-
net8.0
- PhoenixmlDb.Core (>= 1.1.4)
- PhoenixmlDb.XQuery (>= 1.3.11)
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.3.21 | 23 | 5/22/2026 |
| 1.3.20 | 67 | 5/20/2026 |
| 1.3.19 | 74 | 5/20/2026 |
| 1.3.18 | 75 | 5/19/2026 |
| 1.3.17 | 74 | 5/19/2026 |
| 1.3.16 | 74 | 5/19/2026 |
| 1.3.15 | 89 | 5/17/2026 |
| 1.3.14 | 85 | 5/15/2026 |
| 1.3.13 | 91 | 5/14/2026 |
| 1.3.12 | 90 | 5/14/2026 |
| 1.3.11 | 85 | 5/13/2026 |
| 1.3.10 | 87 | 5/13/2026 |
| 1.3.9 | 93 | 5/13/2026 |
| 1.3.8 | 87 | 5/12/2026 |
| 1.3.7 | 88 | 5/12/2026 |
| 1.3.6 | 94 | 5/12/2026 |
| 1.3.5 | 99 | 5/12/2026 |
| 1.3.4.9 | 79 | 5/12/2026 |
| 1.3.4.8 | 83 | 5/12/2026 |
| 1.3.4.7 | 86 | 5/12/2026 |
fn:transform with stylesheet-location of an http(s):// URI is now fetched, not File.ReadAllText'd (Martin Honnen WASM repro).
Node arguments to initial-function are now wrapped as CrossStoreNodeRef and re-parsed in the inner engine's store on both the in-engine and public ITransformProvider paths so xsl:evaluate can navigate them (Martin Honnen Schematron repro).
XTSE0080 diagnostic now includes the offending function QName.
See RELEASES.md for full notes.