Changes

Jump to navigation Jump to search
11 bytes added ,  17:02, 20 October 2017
XQuery and Java can be combined as follows:
* First, a JAR package must be is created (as described above).* The A new XQuery wrapper module must be is created, which is named identically to the Java main class.
* The URL of the {{Code|import module}} statement in the wrapper module must start with the {{Code|java:}} prefix.
* The finalized XQuery module must be copied into the JAR file, and placed in the same directory as the Java main class.
If the resulting JAR file is installed, the embedded XQuery module will be extracted, and will be called first if the module will be imported.
; Main Module {{Code|HelloUniversehello-universe.xq}}:
<pre class="brush:xquery">
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu