XFC only requires a Java runtime 1.3 or above. All additional libraries (JAXP, SAX2, and XP for JAXP) are included in the distribution for convenience.
XFC requires the .NET Framework Redistributable Package (version 1.1 or 2.0) and the Microsoft Visual J# Redistributable Package (same version) to be installed on the host machine. These packages are available for download on the MSDN site.
The installation procedure on a Unix system is outlined below.
Unpack the distribution:
$ gunzip -c xfc-42p1.tgz | tar xvf -
The above command will create directory xfc-42p1 in the current directory.
Add XFC installation directory (referred to as $XFC_HOME) to your PATH variable, or create symbolic links to $XFC_HOME/fo2rtf, $XFC_HOME/fo2wml, $XFC_HOME/fo2docx and $XFC_HOME/fo2odt in a directory already in your PATH variable (e.g. /usr/local/bin, assuming you have the required privileges):
$ cd /usr/local/bin $ ln -s $XFC_HOME/fo2rtf fo2rtf $ ln -s $XFC_HOME/fo2wml fo2wml $ ln -s $XFC_HOME/fo2docx fo2docx $ ln -s $XFC_HOME/fo2odt fo2odt
XFC may then be invoked with one of the following commands:
$ fo2rtf <fo-file> <rtf-file> $ fo2wml <fo-file> <wml-file> $ fo2docx <fo-file> <docx-file> $ fo2odt <fo-file> <odt-file>
You may try to convert one of the sample files in the samples directory to check the installation.
The installation procedure on a Windows platform is outlined below.
Unpack the distribution. The Windows distribution comes in the form of a setup program (setup.exe). Run this program and follow the instructions to perform the installation.
Add XFC installation directory to your PATH variable. XFC may then be invoked with one of the following commands:
C:\> fo2rtf <fo-file> <rtf-file> C:\> fo2wml <fo-file> <wml-file> C:\> fo2docx <fo-file> <docx-file> C:\> fo2odt <fo-file> <odt-file>
You may try to convert one of the sample files in the samples directory to check the installation.
Contains the API documentation.
Contains Norman Walsh's DocBook and Slides XSL stylesheets documentation.
Contains this document in HTML and PDF formats.
Contains XSL Utility user's guide in HTML format.
Unix script to convert an XSL-FO file to Open XML.
Windows script to convert an XSL-FO file to Open XML.
Unix script to convert an XSL-FO file to OpenDocument.
Windows script to convert an XSL-FO file to OpenDocument.
Unix script to convert an XSL-FO file to RTF.
Windows script to convert an XSL-FO file to RTF.
Unix script to convert an XSL-FO file to WML.
Windows script to convert an XSL-FO file to WML.
Contains the Java source tree (Professional Edition, Developer and Site License only).
Contains the additional Java libraries needed to run XFC, as well as general and copyright information regarding these libraries.
XFC license agreement (Personal Edition).
XFC license agreements (Professional Edition).
Contains XSL-FO sample files. (Most of these files are simple test cases which are part of the XFC test suite.)
XFC and XSL Utility binary class library. (Note: the Personal Edition library is obfuscated to prevent access to the converter API.)
Contains the XML catalog, DTDs and XSL stylesheets bundled with XSL Utility.
Contains the additional Java libraries needed to run XSL Utility, as well as general and copyright information regarding these libraries.
Contains XML (DocBook) sample files.
Unix script to run XSL Utility (graphical user interface).
Windows script to run XSL Utility (graphical user interface).
Unix script to run XSL Utility (command-line executable).
Windows script to run XSL Utility (command-line executable).
Contains the C# source code (Professional Edition, Developer and Site License only).
Contains the API documentation.
Contains this document in HTML and PDF formats.
Command-line executable to convert an XSL-FO file to Open XML.
Command-line executable to convert an XSL-FO file to OpenDocument.
Command-line executable to convert an XSL-FO file to RTF.
Command-line executable to convert an XSL-FO file to WML.
XFC license agreement (Personal Edition).
XFC license agreements (Professional Edition).
Contains the J# source code (Professional Edition, Unrestricted Use License only).
Contains XSL-FO sample files. (Most of these files are simple test cases which are part of the XFC test suite.)
XFC binary class library. (Note: the Personal Edition library is obfuscated to prevent access to the converter API.)