Generating SEF files via API not available
In Saxon/C Java code we have the methods in @net.sf.saxon.option.cpp.XsltProcessor@ to generate SEF files (i.e. @compileFromFileAndSave@, @compileFromStringAndSave@ and @compileFromXdmNodeAndSave@) but we don't have the C/C++ accessor methods for them. Also we need to be able to set the target Saxon edition.
#1 Updated by O'Neil Delpratt 5 months ago
As a workaround Saxon/C can be run from the command line in a similar way to its Java counterpart with the same options available.
See the files Transform.c, Query.c and Validate.c which are available in the directory 'command'. The build.sh script can be executed to build the commandline programs which can be used to create the SEF file and set the Saxon targeted edition.
See the section Getting started with C/C++.
#3 Updated by O'Neil Delpratt 3 months ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Added the methods to the PHP API code. Not planning to add SEF generation methods to C because we can create SEF files using Transform.c, as suggested in comment #1.
Marking this bug issue as fixed and available for the next maintenance release.
Please register to edit this issue