next-siblingAdded by IBM on August 8, 2013 | Version 1 (Original)
|An extension to XForms 1.1, this function returns the following sibling element of a given element.
Table 1. next-sibling parameters
|node||XPath||The element whose following sibling element is obtained.|
The next sibling element, or empty nodeset if the given node has no following sibling elements.
Deletes the second child element from within a list.
Parent topic: XForms utility functions
- To use this function, you should include it in the functions attribute of the <xforms:model> tag.
- This function provides the same behavior as the expression "following-sibling::*", except that the function operates in constant time regardless of the number of siblings. Use this function with care; unless the axis is large, an XPath axis navigation is more efficient than a function call.