此实用工具函数适用于任何HTML元素,包括div、文本输入、复选框和选择列表。
This utility function works on any HTML element, from a div to text input or a checkbox or select-list.
XSLT 2.0有很多函数和元素允许指定排序。
XSLT 2.0 has a number of functions and elements that allow you to specify a collation.
您可以在EXSLT网站上找到有关EXSLT中每个函数或元素实现状态的完整文档。
You can find full documentation on the implementation status of each function or element in EXSLT at the EXSLT Web site.
这个函数将XML元素转化成PHP关联数组。
This function then converts the XML elements into a PHP associative array.
EXSLT被组织到各个模块中,每个模块都定义若干个扩展函数和元素。
EXSLT is organized into modules, each of which defines several extension functions and elements. Firefox 3.0 implements a selection of extensions within a selection of modules, as listed.
如果作为参数给出的函数或者元素是代码块中惟一可能不受支持的特性,可选择后两种形式。
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.
相比之下,函数不使用任何选定元素作为参数。
Contrast that with a function, which doesn't take any selected elements as arguments.
静态错误条件中包括未知的XSLT元素、属性和函数。
Included among the static error conditions are unknown XSLT elements, attributes, and functions.
这些函数使用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.
然后,textData函数查看当前元素,看它是不是publisher、title或author标记。
Then, the textData function looks at the current element to see if it's a publisher, title, or author tag.
这些函数从表列获得xml元素的名称和值。
These functions derive both the names and values of the XML elements from the columns of the table.
注册的函数不会成为HTML元素的方法。
Registered functions do not become methods of the HTML element.
与前面的查询相反,以下查询使用containsXQuery函数在message元素上添加一个谓词。
In contrast to the previous queries, the following query adds a predicate on the message element using the contains XQuery function.
您看到了通用的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.
position函数计数节点—元素和文本节点—即使文本只是空白。
The position function counts nodes-both elements and text nodes-even if the text is just white space.
还可以使用选择函数从XML提取数据元素。
You can also play with the selection functions, which let you extract elements of the data from the XML.
probe元素代表函数中的任意跟踪点,除了入口和退出跟踪点。
The probe element represents any trace point in the function other than an entry or an exit trace point.
这使您可以在一个页面上跨多个元素执行函数,并且只需传入一个CLASS名称。
This results in giving you the leeway to perform functions across wide-ranging elements on a page while passing in only one CLASS name.
在XPath例子中,last函数返回最后匹配元素的索引(用在方括号中)。
In the XPath example, the last function returns the index of the last matched element, which you use in square brackets.
当用户选取列表元素后执行 onSelect函数。
The onSelect function is executed when the user selects a list element.
xmlagg函数使用ORDERBY子句对组内元素进行排序。
XMLAGG functions use the ORDER BY clause to sort the elements within the group.
在这些语言中,数学函数通常应用于元素序列中的每个元素,但也会应用于单个数字。
In these languages, numeric functions generally apply to each element in a sequence of elements, but also to an individual number.
但是,XSLT 1.0规范的的确确提供了通过额外的元素和函数来扩展XSLT功能的机制。
However, the XSLT 1.0 specification does provide a mechanism for extending the functionality of XSLT through additional elements and functions. The relevant passages from the specification are these.
这个函数为每一个记录创建UI元素。
This is a function for creating the UI elements for each entry.
为此,只需简单地选择所需的元素,然后使用load函数即可。
To do that, simply select the element you need and use the load function. Here's an example that updates some statistics.
xml函数genxml和genxmlclob以xml元素的形式返回数行sql。
The XML functions genxml and genxmlclob return rows of SQL as XML elements.
使用jQuery,你只需选择你要的元素并使用load函数。
With jQuery, you simply have to select the element you need and use the load function. Here's an example that updates some statistics.
这些函数允许将事件变成动态的,就像页面元素一样。
These functions allow your events to be dynamic, just like your page elements.
否则,该函数将第一个元素添加到列表其余部分的总和。
If not, the function adds the first element to the sum of the rest of the list.
提供页面元素的任务由编写该函数的开发人员负责。
The burden of supplying the page elements rests with the plug-in developer writing the function.
应用推荐