How to Generate Java Code for an XML Pipeline

To generate Java code for an XML Pipeline:
1. Make sure properties on the Deployment tab of the Scenario Properties dialog box for the XML pipeline are set appropriately. See Processor Settings and Code Generation for more information.
2. Click the Generate Java Code button ( ) on the XML Pipeline Editor toolbar.

Alternative: Select XML Pipeline > Generate Java Code from the Stylus Studio menu.

The Generate Java Code for XML Pipeline dialog box appears.

Figure 437. Java Code Generation Dialog Box

3. Specify the settings you want for the target directory, package and class names, and so on. See Code Generation Settings if you need help with this step.
4. Click OK.

Stylus Studio generates Java code for the XML pipeline. When the code generation is complete, the resulting file (classname .java) is opened in the Stylus Studio Java Editor.

Free Stylus Studio XML Training:
W3C Member