by J.M. Vanel , Copyright © J.M. Vanel - 2001 Back to main page
Last update:
First you need a Java runtime or JDK; I use a 1.3 JDK.
We thrive to make installation easier, our goal is "no installation". We hope that an Ant build file will be able to fetch everything. But for now, this is it:
empty_project/build.xml
EDITOR
property to your XML editor (DTD-less
editor for now); if you have none on Windows just put
notepad
or write
saxon.jar
from SAXON XSLT processor http://saxon.sourceforge.net/,
and put it in your classpath, or in the lib/
directory of
the Ant installationplus for desktop publishing connectors (optional, not needed if your source documents are regular XHTML) :
Spreadsheet::ParseExcel
; get it from
Comprehensive Perl Archive Network (CPAN) ; download and install in this
order:
IO-stringy-1.220
OLE-Storage_Lite-0.08
Spreadsheet::ParseExcel
empty_project/
into a new directory (no
space in directory name), say myProject/
myProject/
any number of source documents:
.table.html
for table structure.parag.html
for paragraphs and sub-paragraphs
delimited par h1 and h2 titles.xls
fileant edit
" in a shell (Unix or Cygwin or DOS) in
myProject/
directoryUSER_SETTINGS/thesaurus.xml
file in the
newly appeared window; I reassure you, it works unchangedant
" in a shellhtml/index.html
USER_SETTINGS/
directory (see below)html
directory to your Web siteant clean
" in a shell , or just "ant
clean-html
":
<rubric use-keywords='no' ...
<w>
elementsTo help you edit this file you can consult the
USER_SETTINGS/publication.xml
file which is an exact image
of the index entries present in all the document source file(s) .
item_file_name.xslt
file. For a first trial you can consult the
kernel/item_file_name-generic.xslt
file which works with any
source document, although the item_name
, which will be
displayed in the HTML pages is not satisfying for all documents;ant
" ; only the necessary files will be updated.XML editors : these are good for DTD-less documents :
Recommanded (X)HTML editor :
http://www.w3.org/Amaya/ from W3C, a good (X)HTML editor, with MVC design, and SVG and MathML capabilities; converts HTML to XHTML and windows-1252 encoding to iso-8859-1 or utf-8