Files
Ant file : opale_to_hdocbib.ant
The ANT take the folowing parameters :
InputPath : the path of a .bib file
OutputPath : the path of a file (by default opale_to_hdoc/result/hdocBib.xml)
The ANT contains the following instructions :
Convert : Call the target to prepare and clean the directory, to create a tmp XML and to turn all the .ref into one hdocbib.
Preparation : Delete the old directories and create new one.
CleanDirectory : Clean the directory, delete the tmp directory.
Createxml : Create a tmp.xml file which contain all the entry of each .ref file.
Opale_to_hdoc : Conver the tmp.xml file into one hdocbib file.
XSLT : getOneDoc.xsl
This file copy each .ref file present in the directory into one XML file
Find each .ref file
Copy the content of each file
XSLT : OpaleHdoc.xsl
This file read the tmp.xml file to create an hdocbib file :
Turn each entry of the tmp.xml file to turn it into hdoc file
Use the id of each entry as id and name