The Saxon/C documentation begins by saying;
Saxon/C is currently on beta release: offering the Saxon-HE product for the C/C++ programming platform. APIs are offered currently to run XSLT 2.0 and XQuery 1.0 from C/C++ or PHP applications.
which implies that Saxon/C can be used to execute an XQuery from PHP, but can it? There is Saxon/C documentation about XSLT, but not XQuery.
Can Saxon/C be used to run an XQuery from PHP and if so, is there any documentation?
Edit: I'm running the Windows version of Saxon/C.
newTransformeras well as anewXQueryProcessor. Whether both features are as well exposed to PHP I don't know. - Martin Honnen