Zorba support in PHP comes through PECL's ext/zorba extension, which is maintained by William Candillon, and provides an object-oriented API for accessing the Zorba library.
PHP中的Zorba支持通过PECL 的ext/zorba扩展来实现,该扩展由William Candillon 维护,它为访问 Zorba 库提供一个面向对象的API。
It then USES the exec function to run Zorba.
然后使用exec函数来运行Zorba。
Read more about these functions in the Zorba documentation.
在Zorba文档中更多地了解这些函数。
For this, simply use the Zorba XQuery processor online live demo, so you don't have to install anything.
为此,简单地使用ZorbaXQuery处理器在线实况演示,所以您无需安装任何东西。
Listing 19 USES Zorba to read this file and add a new entry to the end using an XQuery Update expression.
清单19使用Zorba读取该文件,并使用XQueryUpdate表达式在末尾添加一个新条目。
In addition to the let and return clauses, Zorba supports for sequences, as well as the for clause to process them.
除了let和return子句之外,Zorba还支持序列和处理序列的for子句。
Alternately, you can use the online version of Zorba XQuery processor to run code examples by performing the following steps.
另外,通过执行以下步骤,您也可以使用ZorbaXQuery处理器的在线版本来运行代码示例。
Zorba supports declaring variables within the context of an XQuery, as well as basic math functions. Listing 3 demonstrates both these aspects
Zorba支持在XQuery上下文中声明变量和基础的数学函数。
Although using an XQuery agent such as Zorba is convenient, it is also possible to pull the data with SimpleXML directly, in the following way.
尽管使用诸如zorba这样的XQuery代理很方便,但是采用以下方式利用SimpleXML直接获得数据也是可能的。
It provides detailed information on how to use this extension in the context of PHP scripts, explaining the Zorba API and illustrating it with various examples.
本文提供如何在php脚本上下文中使用该扩展的详细信息,并通过许多例子解释ZorbaAPI。
To use it with the eXist XML Database, you need to have the database installed; otherwise, use the Zorba XQuery processor, which is available through an online sandbox.
要将它与eXistXMLDatabase 一起使用,您需要安装了该数据库;否则,使用ZorbaXQuery处理器(可以通过在线沙箱得到)。
Although the multimineral Zorba pill was designed as a simple dietary supplement, a study of first-time ulcer patients who took Zorba suggests that Zorba actually helps prevent ulcers.
158尽管含多种矿物质的Zorba药片被设计成用作单纯的营养补充药,对于使用了Zorba的溃疡初患者的研究发现Zorba可以帮助预防溃疡。
Clearly, then, Zorba will be highly effective in preventing recurrent ulcers and if health experts inform the general public of this fact, many first-time ulcers can be prevented as well.
显然,Zorba在预防溃疡复发方面有很积极的效果,如果健康专家把这一事实公诸于众,很多初次发生的溃疡也同样可以得到预防。
Zorba also includes functions to parse JSON-encoded data, and return it in an XML format. Listing 28 has an example of using Zorba's json function to return an XML representation of a json packet.
Zorba还包含解析用JSON编码的数据的函数,并用xml格式返回数据。
Zorba also includes functions to parse JSON-encoded data, and return it in an XML format. Listing 28 has an example of using Zorba's json function to return an XML representation of a json packet.
Zorba还包含解析用JSON编码的数据的函数,并用xml格式返回数据。
应用推荐