这个表达式指定了从根元素到锚的路径。
This expression specifies a path from the root element to our anchor.
您可以添加消息树的新数据类型或元素,以便在表达式中使用。
You have the ability to add new data types or elements of the message tree for use in the expression.
但通常不这样做,传入DOM文档元素,然后从这里开始编写表达式是最简单的办法。
More often than not, though, it's easiest to pass in the DOM document element and write your expressions from there.
文本消息必须符合的模式是通过初始化文件中的元素中定义的正则表达式定义的。
The pattern that the text message must correspond to is defined through a regular expression defined through the element in the initialization file.
除了简化元素嵌入,紧凑表达式也提供一种引用和重用策略表达式的方法。
Besides simplifying element nesting, compact expression also provides a way to reference and reuse policy expressions.
表2展示了定位元素的DOM表达式。
这个正则表达式在元素中指定。
表达式的重要元素是变量。
第二个表达式是为分隔元素而添加的运算符。
The second expression is the separator that will be added to separate the elements.
这是组成FLWOR表达式的元素。
它将迭代id x序列中的每个元素,求得表达式的值,并将结果添加到这个返回序列。
It will iterate over each element of the idx sequence, evaluate the expression, and add the result to the return sequence.
不管使用哪个名称,它们都匹配基于它们的代替组head元素的路径表达式。
Whatever names they use, they all match the path expression based on their substitution group head element.
可以通过实例文档填充表单,实例文档是从表单元素上的XPath表达式引用的。
You can populate the form through an instance document, which you reference from XPath expressions on the form elements.
with - syntax额外定义了一些语法元素,可以在转换表达式中使用。
With-syntax defines additional syntax elements that can be used in the transforming expression.
表1展示了定位元素的Xpath表达式。
从输入或输出消息获得的任何数据元素都可以通过使用XPath表达式进行引用。
Any data elements obtained from an input or output message can be referenced by an XPath expression.
为了识别需要解密的xml元素,Decryptor要能理解XPath表达式。
Decryptor understands XPath expressions in order to identify the XML element for decryption.
清单6中的代码创建了一个到达所需元素的XQuery表达式。
The code in Listing 6 creates an XQuery expression that reaches out to the required element.
XMLFormsGenerator已经完成了构造基本表单元素并使用 XPath表达式将其与数据匹配的工作。
The XML Forms Generator has already done the work of constructing the fundamental form elements and matching them to the data with XPath expressions.
但是仍然值得提一下,因为它在input元素的ref属性中使用XPath表达式。
Still, it's worth mentioning because it too makes use of XPath expressions, in the input element's ref attribute.
X Forms表单元素使用的数据模型引用实际上是XPath表达式,因此可用XPath表达式来引用模型中的任何元素。
The data model references used by the XForms form elements are actually XPath expressions, so you can use them to refer to any element in the model.
至少应该填写您的扩展元素的XPath表达式。
At a minimum, you should fill in the XPath expressions for your extension elements.
需要对XML元素指定条件XPath表达式来详细描述对警告消息的验证。
A conditional XPath expression needs to be specified on the XML element to specify the validation for the Warning message.
不过在前进之前要认识到XPath表达式可能返回多个元素。
However, before you get too far you should realize that an XPath expression can return more than one element.
它允许模式作者在元素声明中根据XPath表达式的值指定类型替换。
This allows the schema author to specify type substitutions on an element declaration which are selected based on the evaluation of XPath expressions.
比如选择body元素可使用XPath表达式body。
For example, to select the body element, you just use the XPath expression body.
Map和grep对列表的每个元素计算块或表达式。
Map and grep evaluate a block or an expression for each element of a list.
但是,实践证明对于很长的正则表达式这样太复杂了(很难确定group元素与正则表达式的关系)。
However, this proved too complex with long regexes (it was difficult to decide how the group elements related to the regex).
这个表达式选择元素的子元素之间的所有文本节点。
This expression selects all text nodes between the children of the element.
该表达式选择所有的元素,然后返回第一个元素。
The expression selects all the elements, then returns the first one.
应用推荐