Subsections
Template Files
BatchKi template files form a special category of input data files that should be modified only by an expert user (HTML designer or XML programmer). The template files are located in the directory system/BatchKi/template/html and system/BatchKi/template/xml. The files distributed in these directories are of four distinct types:
- HTML templates (*.HTML)
- XML templates (*.XML)
- XSL style sheets (*.XSL) and
- XML document-type definition files (*.DTD)
Template File Customization
Expert users may choose to change the graphical layout or the contents of the HTML (XML) output files by editing the template files. For example, the HTML code snippet below is excerpted from the file platehdr.html in the directory templates/html.
<head>
<title><!-${TITLE}-></title>
<link rel="stylesheet"
href="BatchKi.css"
type="text/css">
</head>
<body bgcolor="#efefef">
<a name="top"> </a>
<h2><!-${TITLE}-></h2>
The user might wish to replace the default cascading style sheet file BatchKi.css by another style file, or simply change the background color by editing the <body bgcolor="#efefef"> element. The special HTML comments containing the dollar sign, e.g. $TITLE, are programmatically replaced by appropriate content during the execution of BatchKi.
|