JET tags requiring a path expression have a select attribute.
需要路径表达式的JET标签有一个select属性。
The parentheses (()) used in the select attribute are essential to correct behavior.
select属性中使用的括号 (())对于正确的行为很重要。
It loops over a set of elements (selected through the select attribute as well), in this case the various items.
它循环遍历一组元素(也是通过select属性选中的),在本例中是不同的item。
In this simple example, the variable is not necessary and, even if used, could have been defined with a select attribute.
在这个简单的例子中,不必使用变量,若使用的话,应该定义为具有select属性。
The result with a select attribute is not automatically converted to a string; as such, a Boolean value remains a Boolean.
带有select属性的结果不被自动转换成字符串;因此,boolean值保持为boolean值。
In Listing 5, the test does not need to compare to a string because the variable returns a Boolean type rather than an RTF as a result of the select attribute.
在清单5中,测试不需要与字符串进行比较,因为变量返回一个Boolean类型而不是rtf作为select属性的结果。
The most interesting change with options, parameters, and variables is the removal of the value attribute; values are now the result of evaluating an XPath expression defined by a select attribute.
对选项,参数和变量来说,最有趣的变化是移除了值属性;现在值是一个Xpath表达式的计算结果,该表达式由一个选择属性定义。
The most interesting change with options, parameters, and variables is the removal of the value attribute; values are now the result of evaluating an XPath expression defined by a select attribute.
对选项,参数和变量来说,最有趣的变化是移除了值属性;现在值是一个Xpath表达式的计算结果,该表达式由一个选择属性定义。
应用推荐