Prev   Next   Top

Body Template

 The body template is a simple HTML file that may contain one variable: @DOC@. If the variable is absent, HTMLslicer assumes that an implicit @DOC@ variable has been placed just before the last HTML tags: "</BODY></HTML>". Each resulting HTML page file contains (See also Concepts):

Indeed, @DOC@ represents the HTML current segment from your source document (with, optionally, its header and footer parts). A body template might come from three possible sources:

  1. Your source document: it does not contain any variable. The "top" part of such a template is the part contained between the beginning of your document file, and up to the first header, where the segmentation starts. The bottom part is simply the string: "</BODY></HTML>".
  2. The file named BodyTemplate.htm that is located in the application directory (the "default template"). The simplest one to use in the one I am providing with the installation package. Examine it, because it is a very good introduction. Later, you can replace it with your own designed default template, but it should have the same file name "BodyTemplate.htm".
  3. The name of the file that you specified in the Style Setup panel and that should be found in your source document directory.

 


Prev   Next   Top