|
Home >Online Product Documentation >Table of Contents >Developing Stylesheets That Generate FO Developing Stylesheets That Generate FOTo develop a stylesheet that generates FO:
1. Define the scenario in which you want to apply the stylesheet that generates FO. See Creating a Scenario.
2. In the Scenario Properties dialog box, in the Post-process tab, do one of the following:
The Apache FOP included with Stylus Studio is configured to convert FO XML into PDF. Stylus Studio then uses Acrobat Reader to display the PDF in the Stylus Studio preview window. See Post-processing Result Documents.
3. In the XSLT editor, define a stylesheet that generates FO. As soon as you type <fo: , Stylus Studio displays a completion menu of FO that you can select from.
4. Apply the stylesheet to an XML document.
After Stylus Studio transforms the XML document to generate a result XML document that contains formatting objects, Stylus Studio automatically runs the FOP you specified on the result document. Stylus Studio then displays the postprocess result in the XSLT Preview window. |