-16012 THE CONTEXT ITEM IN AN AXIS STEP MUST BE A NODE. ERROR QNAME = err:XPTY0020
Explanation
In an axis step, the context item, which is the item currently being processed, must be a node of the XQuery Data Model.
System action
The XQuery expression cannot be processed.
Programmer response
Modify the axis step or the input to ensure that the context item is a node.
SQLSTATE
10507