XMLTABLE
Specify the FOR ORDINALITY clause on a column in the COLUMNS clause of the XMLTABLE predicate.
FOR ORDINALITY
COLUMNS