|
Home >Online Product Documentation >Table of Contents >How to Generate Java Code for XSLT How to Generate Java Code for XSLTTo generate Java code for XSLT:
1. Open the XSLT file for which you want to generate Java code.
2. Define at least one scenario. The scenario must use the Saxon or Java built-in processor. See <hyperlink>Scenario Properties Used for Generating Code for more information.
3. Select the scenario for which you want to generate Java code.
4. Close the Scenario Properties dialog box.
5. Select XSLT > Generate Code > Generate Java Code from the Stylus Studio menu.
The Generate Java Code dialog box appears. (See Figure 246 .)
6. Specify the settings you want for the target directory, package and class names, and so on. See <hyperlink>Java Code Generation Settings if you need help with this step.
7. Click OK.
Stylus Studio generates Java code for the XSLT. When the code generation is complete, the resulting file (classname |
Java Web Services
Stylus Studio's Web Service Call Composer simplifies Java Web Service development by making it easy to find, invoke, and test any Java Web Service deployed on any popular Java Web Service framework, such as Apache AXIS.
XPath Query Editor
Stylus Studio's XML Editor has an XPath Query Editor that allows you to easily roubleshoot, test, and debug any XPath expression.
EXSLT Tools
EXSLT support in Stylus Studio lets you extend XSLT 1.0 stylesheets and simplify many tasks including computing dates and times, performing mathematical computations, string manipulations and more.