How to Generate Java Code for XQuery

To 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.

Figure 353. Java Code Generation Dialog Box

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 .java) is opened in the Stylus Studio Java Editor.

Java Code Generation

The Stylus Studio Java Codce Generator lets you generate deployable Java code for XQuery and XSLT at the push of a button!

Computing XML Differences in Stylus Studio

See for yourself just how easy it is to visually compare different XML files or folders using Stylus Studio's powerful new XML Differencing Utility. Quickly and easily analyze and merge changes made to different XML documents!

XSLT Editor

Stylus Studio's XSLT Editor is the most advanced XSLT development tool on the market. This powerful tool provides backmapping, XSLT transformation preview, debugging, peformance profiling, and more!

Whitepaper: FIXML - Working with Complex Message Sets Defined Using XML Schema

The advanced XML Schema handling and presentation capabilities of Stylus Studio have valuable implications for users of industry-specific XML message sets.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member