xsql:ref-cursor-function
Executes an arbitrary stored function returning a REF CURSOR and includes the result set in canonical XML format.
http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/creating_html_clients/f1_xsqlrefcursorfunction.html