Function Type

The simple type ST_FunctionType defines different types of conditional expressions that can be utilized. The different types of expressions are:

  • cnt – Specifies the count of items.

  • pos - Retrieves the position of the node in the specified set of nodes.

  • revPos - Reverse position function.

  • posEven - Returns 1 if the specified node is at an even numbered position in the data model.

  • posOdd - Returns 1 if the specified node is in an odd position in the data model.

  • var - Used to reference a variable.

  • depth - Specifies the depth of items.

  • maxDepth - Defines the maximum depth of items.