The template toolset provides two facilities not available in standard HTML. They are:
This is achieved using four components documented in these pages:
|
|
As mentioned above, a wrapper provides the interface between the user, and the template toolset. As figure 2 illustrates, the wrapper takes user specified data (e.g. the user ID of a member of staff, a department name, a year, etc.) and a template (whose name is also specified by the user) as command line arguments.
These are then used by the wrapper to make queries of the database through the CAS database library. Once the query results are received, the wrapper uses subroutines from the Template tool library to insert relevant data into the template.
The generated document is then rescanned and localised and externalised versions of it are produced.
You should refer to the documentation for more detail on the operation of the individual components.