The three main steps of the script

The target itself contains three main steps : a Java XML parsing used to transform the HTML content to HDoc content, an XSL transformation to wrap the HDoc content in a valid HDoc XML structure, and finally and an assembling of all needed files and folders, zipped so that the HDoc conversion is complete.