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.
答案 0 :(得分:1)
Saxon / C上的PHP API文档可满足您的需求:
http://www.saxonica.com/saxon-c/php_api.xml
另请查看下载zip文件中samples目录中的示例。请参阅文件xqueryExamples.php