要想获取所需的所有四行,可以使用XQuery函数fn: upper - case把city元素值转换为大写并与“PARIS”做比较。
To catch all four rows that you require, you can use the XQuery function fn: upper-case to convert the city element values to upper case and compare them to "PARIS."
第一行比较简单,我们定义了一个直接从字符串到ILisp的适配器,对adapt (“ foo bar ”,ILisp)的调用只是返回了lambda函数的结果。
The first line is simple: it defines an adapter directly from a string to ILisp, the call to adapt (" foo bar ", ILisp) just returns the results of the lambda function.
应用推荐