"Position" function do returns the number equal to context position
-
TRUE
-
FALSE
-
CAN'T SAY
-
NONE OF THESE
A
Correct answer
Explanation
The position() function in XPath and XSLT returns the context position - a number equal to the current node's position within the processed node sequence. For example, when processing a node-set with xsl:for-each, position() starts at 1 for the first node and increments for each subsequent node. This is commonly used for numbering items, creating alternating row styles, or processing specific nodes (like position() mod 2 = 0 for even-numbered items). The function always returns an integer representing the current context position.