I am having an .Net Core 3.1 Application and an XSLT 2.0 Script. The Script should now be executeted by the Application.
First I tried:
//Create a new XslCompiledTransform and load the compiled transformation.
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load(typeof(Transform));
// Execute the transformation and output the results to a file.
xslt.Transform("books.xml", "discount_books.html");
But this just seems to work on .net framework and just for XSLT 1.0.
No I found the Nuget-Package Saxon-HE-fixedrefs, which should be compatible to .net core according to the desciption. But when compiling I get an error in my first line
Saxon.Api.Processor proc = new Saxon.Api.Processor();
"System.TypeInitializationException: "The type initializer for 'net.sf.saxon.Configuration' threw an exception."
FileNotFoundException: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. "
Is there any workaround for this?