|
Home > Online Product Documentation > Table of Contents > How to Generate Java Code for XQuery How to Generate Java Code for XQueryTo generate Java code for XQuery:
1. Define at least one scenario for the XQuery document for which you want to generate Java code. The scenario must use the Saxon or Data Direct XQuery processor. See
Scenario Settings for more information.
2. Select
XQuery > Generate Java Code from the Stylus Studio menu.
The Generate Java Code dialog box appears.
3. Specify the settings you want for the target directory, package and class names, and so on. See
Java Code Generation Settings if you need help with this step.
4. Select the scenarios for which you want to generate Java code.
5. Click
OK.
Stylus Studio generates Java code for the XQuery. When the code generation is complete, the resulting file (classname
|