在执行表达式时,计算表达式并将结果赋值给模式。
When the expression is executed, the expression is evaluated, and the results assigned to the pattern.
这个函数类似于顶级XPath判断,它从XSLT接收当前节点,并执行表达式判断,如清单6所示。
This function, similar to the top-level XPath evaluation, passes in the current node from the XSLT and evaluates the expression against that, as in Listing 6.
从第一个正则表达式开始,创建一个来自数据文件的记录数组,然后循环执行其余的正则表达式以改进结果。
Starting with the first regular expression, create an array of records from the data file, then loop through the remaining regular expressions to refine the results.
缺省设置是对两个表达式执行逻辑“与”操作,这就是本例中需要的设置。
The default is to perform a logical "and" operation on the two expressions, which is what is needed for this case.
不幸的是,抽象是有漏洞的:例如,在我的ZIP代码验证器中,本想使用正则表达式执行检测。
Unfortunately, the abstraction is leaky: in my ZIP code validator, for example, I would have liked to use regular expressions to perform the check.
这意味着循环体中执行的程序语句必须要改变表达式的值,否则循环将无法结束。
This means the program statements executed in the loop body must change the value of the expression — or else the loop will never end.
在元素中指定模式时,请注意,要使用正则表达式来执行匹配和字符串替换。
When specifying patterns in the element, realize that regular expressions are used to perform the matching and string replacement.
每一个规则都有相应的当正则表达式得到匹配时去执行的代码。
Each rule has corresponding code that is executed when the regular expression is matched.
正则表达式是执行此操作的更好方法。
Regular expressions are a much better means of performing this operation.
如果有一个或多个星号,子程序将继续执行处理来创建正则表达式。
If one or more asterisks are present, the subroutine will continue its processing to create the regular expressions.
输出操作数是将对其执行汇编指令输出的C表达式。
The output operands are the C expressions on which the output of the assembly instructions will be performed.
因此,不管执行查询时是否需要该表达式,都总是会提供一个提示。
Consequently a prompt will always be provided whether it is actually needed when the query is executed or not.
VALUES…into语句允许执行SQL表达式,并将结果返回至变量。
The VALUES... into statement allows an SQL expression to be executed and to return the result into variables.
let命令也能执行一个或多个算术表达式。
The let command can also execute one or more arithmetic expressions.
本文的其余部分讨论如何用XQuery转换表达式执行这些XML更新。
The remainder of this article describes how to perform such XML updates with XQuery transform expressions.
如果找到了匹配的规则,将在具有sendto属性值的被请求路径上执行正则表达式替换。
If a match is found, a regular expression replace is performed on the requested path with the value of the SendTo property.
如果有多种表达式可执行,那么使用最高效的方式在web页面中定位元素。
If there are multiple expressions to execute, use the most effective way to locate the elements in web pages.
对于粗粒度和细粒度的查询,您可以在QueryAPI中使用XPath表达式来执行搜索。
You can use XPath expressions in the Query API to perform searches for coarse - and fine-grained queries.
最后由内建的erl_eval:exprs库函数执行构建好的表达式。
The expression is finally executed with the built in erl_eval:exprs library function.
如果需要执行更为复杂的XPath表达式且需要对文档进行完全控制,那么就可以选用DOM。
If you need to perform more complex XPath expressions and need full control of the document, DOM is an option.
下面的语句执行一个XQuery表达式,并以表的形式返回data列中的值。
The following statement executes an XQuery expression and return values as a table from the DATA column.
e—此行的下一项是Scilab引擎必须执行的一个表达式。
E - the next item on the line is an expression that the Scilab engine must execute.
if语句,它基于测试表达式的结果执行一个特定的语句块。
The if statement, which executes a particular block of statements based on the result of a test expression.
存储数据—使用XQuery转换表达式执行子文档更新。
Persisting data - Using XQuery transform expressions to perform sub-document updates.
更改distinctholdings列的输入表达式,使之执行HOLDINGTYPE不同值的计数。
Change the input expression for the DISTINCTHOLDINGS column to perform a count distinct of HOLDINGTYPE values.
更改totalholdings列的输入表达式,使之执行holdingtype值的计数。
Change the input expression for the TOTALHOLDINGS column to perform a count of HOLDINGTYPE values.
由于DB 29将XQuery作为主要语言,在DB 2命令窗口中可以执行以下XQuery表达式。
As DB2 9 supports XQuery as primary language, the following XQuery expression can be executed in a DB2 command window.
针对HTML页面执行XQuery表达式所需要的代码非常少。
A remarkably small amount of code is needed to execute XQuery expressions against HTML pages.
该EntryAutoTagger可以很容易被配置成根据条目内容执行XPath表达式来为条目产生类别。
This EntryAutoTagger is easily configured to generate Categories for an Entry based on executing XPath expressions against its content XML.
XMLTABLE是一个sql表函数,它对一个XML文档执行XQuery表达式并返回一个表。
XMLTABLE is a SQL table function that returns a table from the evaluation of XQuery expressions on an XML document.
应用推荐