SaxonHE12NetXslt 12.5.9.6-pre2
See the version list below for details.
dotnet tool install --global SaxonHE12NetXslt --version 12.5.9.6-pre2
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local SaxonHE12NetXslt --version 12.5.9.6-pre2
#tool dotnet:?package=SaxonHE12NetXslt&version=12.5.9.6-pre2&prerelease
nuke :add-package SaxonHE12NetXslt --version 12.5.9.6-pre2
Thin .NET 8/9 console app/dotnet tool around IKVM cross-compiled .NET version of Saxon-HE 12.5 Java
This tool is a .NET 8/9 console app/a dotnet tool providing a thin .NET 8/9 wrapper around an IKVM cross-compiled version of Saxon HE 12.5 Java to perform XSLT 3.0 transformations.
This is one of the sample projects outlining my successful attempt to apply https://github.com/ikvm-revived/ikvm and https://github.com/ikvm-revived/ikvm-maven to use the open-source Saxon HE 12 Java XSLT 3.0, XQuery 3.1 and XPath 3.1 library in .NET 8/9 code.
Please understand that this is my own experiment, it uses the official Saxon HE 12.5 release from Maven, but the integration with IKVM and IKVM Maven is an experimental work of my own, not in any way an officially tested and supported product by Saxonica, the company that has produced Saxon.
So feel free to use to try and use it under the Mozilla Public License 2.0.
The releases can be found later on NuGet.
Understand that this is work in progress and kind of experimental, I don't have access to a complete test suite of unit tests to rigorously test this, I nevertheless feel it can be useful for folks to at least know about this option to run XSLT 3.0 with .NET 8 or later, without depending on the so far commercial only SaxonCS from Saxonica.
Known issues: I have created the project with VS 2022 Community Edition on Windows, apps built that way could be deployed and run successfully under Linux or Mac where the dotnet .NET 8/9 runtime is installed; by now, the https://github.com/ikvm-revived/ikvm-maven does seem to work on a Mac, so in experiments of your own you should be able to develop and build on Windows and MacOS.
How to use
Install with e.g.
dotnet tool install --global SaxonHE12NetXslt --version 12.5.9.6-pre2
Then you can run SaxonHE12NetXslt
, it takes the same command line argument like Saxon HE Java, so for example, to run XSLT 3.0 with the default xsl:initial-template
you use e.g. SaxonHE12NetXslt -it -xsl:sheet.xsl
or SaxonHE12NetXslt -it -xsl:sheet.xsl -o:result.html
.
Note that Saxon HE 12 can also run XSLT 3.0 against JSON input with the -json
option e.g. SaxonHE12NetXslt -json:input.json -xsl:sheet.xsl
.
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 is compatible. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
12.5.9.6 | 552 | 11/13/2024 |
12.5.9.6-pre2 | 619 | 10/11/2024 |
12.5.9.6-pre1 | 815 | 9/14/2024 |
12.5.9.5 | 4,152 | 9/14/2024 |
12.5.9.4 | 3,004 | 9/13/2024 |
12.5.9.3 | 3,305 | 8/21/2024 |
12.5.9.2-pre1 | 1,313 | 8/14/2024 |
12.5.9.1 | 3,818 | 7/16/2024 |
12.5.0 | 2,447 | 7/2/2024 |
12.4.8.8 | 1,066 | 4/18/2024 |
12.4.8.8-pre.1 | 206 | 3/28/2024 |
12.4.7.5 | 2,168 | 3/27/2024 |
12.4.0 | 772 | 11/30/2023 |
12.3.8.7 | 802 | 11/10/2023 |
12.3.0 | 4,104 | 7/5/2023 |
12.2.0 | 722 | 5/2/2023 |
12.1.0 | 898 | 3/21/2023 |
This is the second preview release based on Saxon HE 12.5 and the latest releases of IKVM.Maven.Sdk 1.8.2/IKVM 8.10.2 (using for the first time in years an up to date Java 8/1.8 JDK 422) for .NET 8 and .NET 9 RC 2