Before i show you some more xquery examples, i found a page at oracle.com which illustrates the use of xquery without XMLDB. But it looks like it uses a newer release of xquery than available in JDeveloper 10.1.3.2. The xquery library in 10.1.3.2 doesn’t use a XQueryResultSet.
The following example displays how to use variables with [...]