Deploying Stylesheets That Generate FO

When your stylesheet is complete, the process for creating a final document, such as a PDF document, from an XML document is as follows:

1. Apply a stylesheet to an XML document. This results in an XML document that contains XSL FO.
2. Run a FOP, such as Apache's FOP, and use the generated XML as input.

Example

You can accomplish both steps with a single invocation of FOP on the command line. For example:

java -cp "C:\Program 
Files\StylusStudio\bin\Plugins\Fop\fop.jar;C:\Program 
Files\StylusStudio\bin\xalan.jar" org.apache.fop.apps.Fop -xml 
..\VideoCenter\videos.xml -xsl catalog.xsl -pdf multimediacatalog.pdf
               

            

Replace C:\Program Files\StylusStudio with the name of the directory in which Stylus Studio is installed.

Advertising & Marketing

Learn about top advertising and marketing companies that are leveraging Stylus Studio 2006 to enhance their everyday work experience.

Convert to XML

Convert to XML is a powerful data integration tool enabling you to convert any legacy data format (EDI, EDIFACT, x12, Binary, HTML, TSV, CSV, etc.) to XML using an intuitive, visual user interface.

Publishing & Printing

It is really hard to get things to look pretty, especially XML. That's why these publishing & printing companies use Stylus Studio to make a Mona Lisa out of data integration. Check out these top companies that are "stunning" with Stylus Studio!

Using DataDirect XQuery with Stylus Studio

Learn how to query any relational database using XQuery and the XQuery API for Java using DataDirect XQuery, an embeddable Java component, and Stylus Studio the world's leading XML IDE.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member