Setup Instructions for
Introduction to XSL-FO

  1. If you haven't already, download the class files listed at the bottom of this page.
  2. Create a folder in the root of your C drive called "Webucator" and extract the class files zip file to that folder.
  3. Make sure that you have installed the XML editor you plan to use in class.
    1. See the course outline for your class to determine which editors you can use.
    2. If this is for a private onsite class make sure that each computer has the editor installed.
    3. If you are using a trial version of the editor, be aware that some products (e.g, XMLSPY) require a unique trial key on each computer.

Outline available at http://www.webucator.com/Xml/XFO101.cfm

Class files available at http://www.webucator.com/ClassFiles/XFO101.zip

Technical requirements listed at http://www.webucator.com/Xml/XFO101.cfm#TechReqs.

Installing Apache FOP

  1. Unzip the downloaded fop file into a folder on the C drive.
  2. Rename the folder to "fop"
  3. Append "c:\fop" (or the appropriate path name) to the Path Environment variable
    1. Open the Control Panel
    2. Open System
    3. Click on the Advanced tab
    4. Click on the Environment Variables button
    5. In the "System Variables" box, double click on Path
    6. At the end of the Variable value text box, type ;c:\fop
  4. Do not delete the Path value. Just append to the end of it.
    1. Click OK until the System dialog is completely closed.
  5. To test the setup:
    1. Open the command prompt.
      1. From the Start menu, select Run
      2. Type cmd and click OK
  6. Type fop and press the Enter key.
  7. You should see a bunch of text ending with:
    [Examples]
    
    Fop foo.fo foo.pdf
    
    Fop -fo foo.fo -pdf foo.pdf (does the same as the previous line)
    
    Fop -xsl foo.xsl -xml foo.xml -pdf foo.pdf
    
    Fop foo.fo -mif foo.mif
    
    Fop foo.fo -print or Fop -print foo.fo
    
    Fop foo.fo -awt
    
    [ERROR] No input file specified
    

Making FOP the XSL-FO Transformation Engine for XMLSPY

  1. Choose Options from the Tools menu.
  2. Select the XSL tab.
  3. In the field at the bottom, type the path to fop.bat.
XSL-FO Screenshot