Setting up the XSL-FO transform in oXygen
Note: Ensure that you close the resulting PDF window each time you run the transformation within oXygen. Otherwise, oXygen will display an error message and cannot run the transformation.
- In your XSLT file, select Document > Transformation > Configure Transformation Scenarios.
- At the Configure Transformation Scenarios window, click New and select XSLT Transformation.
- In the Name field, enter a name for your transformation scenario.
- Click the XSLT tab.
- In the XML URL field, browse to the XML file that you want to transform. Leave the rest of the values as their default values.
- Click the FO Processor tab.
- Select the Perform FO Processing checkbox.
- Ensure that the Method value is pdf and the Processor value is Apache FOP.
- Click the Output tab.
- Select the Save As radio button and enter the name of the output file.
- Select the Open in Browser/System Application checkbox.
- Click OK.
- At the Configure Transformation Scenario window, click Apply associated.
- Zip your XML and XSL files and name the zip file with some identifiable part of your name followed by _xslfo followed by whatever extension your zip application uses. For example, davidm_xslfo.zip. Send the zip by e-mail attachment to your instructor.
Programs and information provided by admin@mcmassociates.io.