Herold Tutorial

Abstract

Tutorial for the HTML to DocBook converter herold.


Table of Contents

Introduction
Installation
Options
Profiles
Customization of the transformation with Groovy
Customization of the HTML tree
Customization of the DocBook tree
Howto customize the transformation of span

Introduction

Herold is a free command line tool that converts HTML files to DocBook XML files. The possibilities of such a transformation are somewhat limited and depend on the structure and quality of the HTML sources. The more information you have in your HTML compared to formatting elements, the better the results will be.

Installation

To install herold on your computer choose the installation package for your operation system and run your installation program. After the file are copied to your filesystem, make sure that the start skript <INSTALLATION_DIRECTORY>/bin/herold(.bat) can be found via your Path variable. Then open a terminal window and run herold -V. The following output should appear on your screen:

herold version "6.0.1"