January 2002
Intermediate to advanced
480 pages
11h 5m
English
According to the XPath specification, the last() function is a node-set function that returns the size for the current (context) node. In reality, this function selects the last child node of the context node.
Arguments: None
Return Type: Number
Example:
child::para[position()=last()]
The position function is a node-set function that returns the position for the current (context) node.
Arguments: None
Return Type: Number
Example:
child::para[position()=last()]
Takes a node set and returns the number of nodes in the set.
Arguments: node-set
Return Type: Number
Example:
child::para[count()]
Selects one or more element instances based on its ID ...
Read now
Unlock full access