How to Generate Code

To generate code for an XML Publisher report:
1. Preview the XML Publisher report. If it is satisfactory, continue with this procedure.
2. Click the Generate button.

Alternative: Select Report > Generate from the menu.

Stylus Studio displays the Generate Transformation dialog box.

Figure 483. Generate Transformation Dialog Box

3. Use the Document Type field to specify whether you want the XQuery or XSLT code you generate to create HTML+CSS or XSL-FO.
4. Use the Transformation Language field to specify whether you want to use XSLT 1.0, XSLT 2.0, or XQuery 1.0.
5. The default URI for the generated XSLT or XQuery code is displayed in the Save Into field. Unless you specify otherwise, Stylus Studio uses the .report file name for the .xsl or .xquery file name.
6. Click OK.
 
Free Stylus Studio XML Training: