XPath Functions
text() – Selects the text content of a node
contains() – Checks if a value contains a specific substring
starts-with() – Checks if a value starts with a specific string
position() – Returns the position of a node in a node set
last() – Returns the last position in a node set
normalize-space() – Removes extra whitespace (trims and reduces spaces)
not() – Negates a condition (logical NOT)
local-name() – Returns the local name of a node (ignores namespace)