TDB2Web - How to..

Prepare a pattern file

TDB2Web expects an HTML-based pattern file for its work. If no other pattern file is specified the program will use its own. Depending on the selected output type it is called Table.htm, OL.htm, UL.htm or DL.htm.

Your pattern file may contain your particular heading, footing, links, applets, images or whatever you want. It even may contain elements of the specified type (tables or lists). As long as they are valid HTML-elements (tables for instance must contain at least one row, marked with a <TR> tag), they will be skipped.

Please consider the subsequent conventions when creating a pattern file:

A minimum pattern file should look like this:

  <HTML><BODY>
  <TABLE></TABLE>
  </BODY></HTML>

For lists, replace TABLE by the appropriate list-tags (OL for Ordered List, UL for Unordered List, DL for Definition List).


Access the table/list from an HTML-document

In general a text element in an HTML-document is accessed by a link that points to a corresponding target. To access the table and/or list from the pattern file (or from an external file) there are two steps to follow: