Using Apache FOP to Generate NonPDF Output

The Apache FOP included with Stylus Studio is configured to output PDF.

To use this FOP to generate some other type of output:
1. Open the stylesheet whose results you want to postprocess with the Apache FOP.
2. Create or open a scenario in which to do the post-processing. See Creating a Scenario. Stylus Studio displays the Scenario Properties dialog box.
3. In the Scenario Properties dialog box, click the Post-process tab.
4. Select Custom post-process.
5. In the Command line field, enter something like the following:
java -cp "C:\Program Files\StylusStudio\bin\Plugins\Fop\fop.jar" 
org.apache.fop.apps.Fop -fo %1 -svg %2
               

            

Modify this sample command line according to where Stylus Studio is installed and what kind of output you want the FOP to generate. The last option, -svg in the example, can be any of the following:

Setting
Output
-mif
MIF file
-pcl
PCL file
-txt
Text file
-svg
SVG slides file
-at
XML (representation of an area tree)
-pdf
PDF file
Table 34. FOP Output Options

6. In the Generated file extension field, specify the extension that indicates the type of output you want. For example, specify .txt if you want the FOP to generate a text file.
7. If there is additional path information that the FOP will require to execute successfully, type it in the Additional path field.
8. Click OK.

XML Generator

Create sample XML instance documents from any XML Schema using the XML Generator. The generated XML document is always valid, well-formed XML!

Investments and Financial Companies That Use Stylus Studio

Stylus Studio provides XML tools & components to leading investment and financial companies! See which top investment and financial companies are banking on Stylus Studio 2006 to simplify their dollars and cents.

XML Well-Formedness Checker & XML Indenter

Tidy up your XML documents with powerful integrated XML editing utilities including a single-click XML formatter, pretty printer, XML indenter and XML well formedness checker.

Building DataDirect XQuery Applications

Stylus Studio further simplifies relational and XML data integration by providing advanced XQuery tools support for building XQuery applications which use DataDirect XQuery.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member