my C++ code :
SaxonProcessor* processor = new SaxonProcessor(false);
processor->setcwd( Current Working Directory );
Xslt30Processor* xslt = processor->newXslt30Processor();
XdmNode* xmlfile = processor->parseXmlFromFile( Some Xml File );
XsltExecutable* xslte = xslt->compileFromFile(Some Xsl File);
xslte->setOutputFile(Output File);
xslte->transformToFile(xmlfile);
This works when i use "Xslt30Processor::TransformFiletoFile()" but this somehow doesn't.
I will raise a bug issue against transformToFile(). However if you use
applyTemplatesReturningFileas a workaround it does work: