Table of Content:
How to run it using
the MS Virtual Machine
How to run in the
Linux/Unix Environment
WH2FO is a Java application which processes an HTML output created with Word 2000, and transforms it into an XML content file and an XSL style-sheet file. From these files, a standard XSLT processor may be used to obtain a file containing only XSL-FO mark-up. You can also apply a style-sheet that converts the XML back into HTML discarding all the extra mark-up added by Word. Using an XSL-FO rendering engine, such as FOP, you can also render your document into PDF.
WH2FO is able to separate content from style into an HTML file generated using Word 2000. When the input has been processed you will get an XML file containing the content and an XSL-T file containing the “rules” to convert it into an XSL-FO document.
The separation between content and style gives you the possibility to re-use the style information and the possibility to re-purpose the content for different uses.
WH2FO also gives a quick way to generate XML content without knowing nothing about tags.
The following executable files are included in the distribution:
Microsoft Windows Specific files
Unix Specific files
For Microsoft Windows users it is possible to run the compiled code using a batch file that calls the MS Virtual Machine
The MS VM (jview.exe) is normally installed with IE 5.x and can execute java code without downloading a JRE
It is possible to execute the Java code directly on any OS.
The Java code must be executed from a Java 1.x runtime environment (JRE) as follows:
Windows users just use the wh2fo.bat : wh2fo htm-file-name [options]
All users:
For Linux/Unix users it is possible to run the compiled code using a shell script file that calls the java run-time engine (jdk1.1)
The application will automatically generate 3 files using the same name as the input file:
The possible WH2FO execution options are:
To create a XSL-FO file you must process the XML and XSL file using a XSLT processor, for instance you can use XT (by James Clark) that provides both a jar and a Windows executable
File |
Version |
Type |
Size |
0.3.0 |
Zip |
435KB |
|
0.2.0 |
Zip |
4.4MB |
|
0.3.0 |
Zip |
506KB |
|
0.3.0 |
Zip |
214KB |
|
0.3.0 |
Zip |
120KB |