What's new ?
TetraSix Software License Agreement for Majix
Downloading Majix
Obtaining a Java VM
Running Majix
Majix process
Majix user interface
Majix input format
Majix intermediate format
Majix output format
Modify input format
Modify XML tag names
Browsing XML documents
The configuration file
The tools
The sample
Comments
|
                                          
|
The sample
As a sample of execution of Majix, we suggest that you regenerate the documentation of Majix from the RTF source file. The RTF source file is converted in XML, then, it is converted in HTML (by the use of XT ). This applies the splitter.xsl style sheet, splits the HTML document in smaller files at level 1 and makes a table of contents.
To this effect:
-
run Majix; by clicking on majix_jview.bat under Windows or by clicking on majix_jre.bat under Sun's Java virtual machine.
-
in the main window, use button Find Document to select the file majixdoc.rtf in the directory sample;
-
click on the Convert button to launch the conversion process;
-
the window with the XML result file appears, close it;
-
click on the Tools button to open the "Tools" window;
-
select the tool "split into pages" and click on the Run button
-
in the splitter tool window, select the XML file (majixdoc.xml in the sample directory) created in the preceding phase;
-
enter mdoc in the second text field (labeled Root XML file). The generated files will start with "mdoc_".
-
select the XSL stylesheet splitter.xsl in the third text field (labeled XSL File).
-
click the Run button
-
Your default HTML browser will be launched with the Majix documentation displayed.
|