Hello,
does anyone know how to get the position() function to work in a XPATH Queries? What I tried until now is
SQL> SELECT EXTRACTVALUE (COLUMN_VALUE, '/row/a/position()') p
FROM TABLE (XMLSEQUENCE (XMLTYPE ('<row><a></a><a></a></row>')))
*
Error at line 0
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: '/row/a/position()'
The XPATH expression should be fine as it is tested in Stylus Studio.
Any clues?