The Process in Brief

  1. Enter the mapping placeholders into the mapping file.
  2. A call to initMappings() should then be made, passing the name (and path if necessary) of the mapping file. This will then return a Vector of the placeholders that were contained within the mapping file.
  3. parseDocument() can then be called, passing the name of the template file, actual data1, and mapping entries.
It's possible that the path and name of the merged file may need to be specified. These have default values, however, if your platform in not a Unix based system then the path will have to be specified as it defaults to '/tmp'.



Shane O'Neill 2005-11-10