I have a Altova MapForce project, and I generated XSLT 2.0 from this project. When I load it from Saxon .net API I got following error message while executing (last statement below):
this.processor = new Processor();
this.compiler = processor.NewXsltCompiler();
XmlTextReader xslt = new XmlTextReader(this.xsltFile);
this.transformer = compiler.Compile(xslt).Load();
Error message is:
"The type xs:NMTOKEN is not recognized by a Basic XSLT Processor."
If I use Altova XmlSpy to use the exact XSLT I have no problem to transform Xml.