Stylus Studio can be configured to invoked Ibex PDF Creator. Having create a project which contains our XSL stylesheet, we can create a scenario using the Create Scenario function shown here:
Creating the scenario brings up the Scenario Properties dialog box. On the general tab (shown below) enter the "Source XML URL" of the XML file to be processed.
Change to the "Post-process" tab of the Scenario Properties dialog box and enter the click the "Custom post-process" radio button.
In the "Command line" text box enter a command to invoke Ibex, like this:
java -classpath d:\xmlpdf\head\installers\ibex-4.7.3.8.jar ibex.Run -xml %1 -pdf %2
%1 will be replaced by the output FO file created by Stylus Studio, and %2 will be replaced by the name of the PDF file.
Note that you will need to change the "d:\xmlpdf\head\installers\" part of the command line to match the location where you have the Ibex jar file installed.
Change the "Generated file extension" text box to ".pdf". The dialog should now look like this:
Press the OK button to save the scenario. You can now create the PDF file using the green "Preview Result" button within Stylus Studio.
You should see a screen like the one below, where the PDF output appears in the bottom left pane and messages from Ibex appear in the bottom right:
Copyright (c) 2002-2011 Visual Programming Limited