这些函数允许将事件变成动态的,就像页面元素一样。
These functions allow your events to be dynamic, just like your page elements.
您可以在EXSLT网站上找到有关EXSLT中每个函数或元素实现状态的完整文档。
You can find full documentation on the implementation status of each function or element in EXSLT at the EXSLT Web site.
XMLAGG——将几个元素组成一个父元素的列函数。
XMLAGG - column function that groups several elements within a parent element.
静态错误条件中包括未知的XSLT元素、属性和函数。
Included among the static error conditions are unknown XSLT elements, attributes, and functions.
这里是一个简短的函数,用于向列表中的每一个元素加2,并返回结果列表。
Here's a short function to add the number 2 to every element of a list and return the resulting list.
可以使用构造函数构造包含多个元素的列表,它用一个元素和另一个列表构造列表。
You can construct lists with multiple elements using the constructor, which builds a list from an element and another list.
例如,可以编写一个泛型sdo访问函数并用特定于元素的元数据填充它来访问单独的SDO。
For example, one could write a generic SDO-access function and populate it with element-specific metadata in order to access individual SDOs.
您将使用此函数设置最高元素的标记。
You'll use this function to set the tag of the highest element.
这些函数使用HTML元素的ID属性,所以一定要在HTML文件中包含id属性。
These functions use the ID attributes of HTML elements, so you need to make sure that you include them in the HTML file.
在这个例子中,text函数用于修改元素的内容。
In this example, the text function is used to modify the contents of the element.
您看到了通用的attr函数可用于每个元素,并且Form元素有获得其值的特殊函数。
You saw that the generic attr function can be used generically on every element, and that the Form elements have special functions to get their values.
在XPath例子中,last函数返回最后匹配元素的索引(用在方括号中)。
In the XPath example, the last function returns the index of the last matched element, which you use in square brackets.
注册的函数不会成为HTML元素的方法。
Registered functions do not become methods of the HTML element.
那么,只有带“survived”域的数组元素(在前面由survive()函数设定的)通过grep。
Then, only elements of the array with the "survived" field (set earlier by the survive() function) get through the grep.
XMLELEMENT——创建X ml元素的标量函数。
XML_Query 2x ML允许开发人员定义定制的回调函数,由输出XML中的特定元素调用。
XML_Query2XML allows developers to define custom callback functions, which are called by specific elements within the output XML.
因此,示例中的这个函数能够与collabform . html页面中的元素交互。
Hence, the function in the example is able to interact with elements on the collabform.html page.
然后使用attr函数获得元素的href属性的值。
Then use the attr function to get the value of the element's href attribute.
虽然元素没有内建的快捷函数,代码也创建了其中的一个。
With no built-in shortcut for elements, the code creates one of those as well.
它接受单个参数:一个函数,并将此函数应用于数组内的每个元素。
It takes a single parameter, a function, and applies the function to each element in the array.
例如,表示非空容器的任何类在构造函数中必然使用表示其元素的参数。
For instance, any class representing a non-empty container would naturally take arguments representing its elements in the constructor.
当调用方法或者函数时,会有一个新的元素进栈。
Calling a method or function pushes a new stack frame onto the stack.
通过枚举的构造函数允许您将所有元素的值指定为逗号分隔的标量值,如以下两个清单中所示。
Constructors by enumeration allow you to specify the values of all the elements as comma-separated scalar values, as shown in the following two listings.
在覆盖的函数中,我们在链接列表外边加上DIV元素并返回产生的字符串。
In the overriding function, we are wrapping the DIV element around the delimited list of links and returning the resulting string.
如果作为参数给出的函数或者元素是代码块中惟一可能不受支持的特性,可选择后两种形式。
You can use the latter two where the one function or element given as the argument is the only feature in the code block that might not be supported.
右击视图中的函数元素来设置中断点。
Set entry breakpoints by right clicking on the function elements in the view.
在碰到退出函数时,当前的活动函数就会返回,并释放栈顶元素。
When an exit address is encountered, the current active function has returned and the top element on the stack is discarded.
这些函数从表列获得xml元素的名称和值。
These functions derive both the names and values of the XML elements from the columns of the table.
页面上的Form元素具有一个特殊的函数,该函数可以针对这些元素调用以获得附加到元素的值。
The Form elements on a page have a special function that can be called on them in order to get the value attached to them.
其中最重要的是map,它将某个函数应用到列表中的每个元素。
The most important of these is map, which applies a function to every element of a list.
应用推荐