Skip to content

TSTool / Command / WriteTableToHTML


Overview

The WriteTableToHTML command writes a table to an HTML file. It can be used to publish tables for the web.

Table column names are output as the HTML table column headers. Formatting for cell values is based on the precision of the original table data. Default styles are written at the top of the HTML. In the future the command may accept styles as input.

Command Editor

The command is available in the following TSTool menu:

  • Commands(Table) / Output Table

The following dialog is used to edit the command and illustrates the command syntax.

WriteTableToHTML command editor

WriteTableToHTML Command Editor (see full-size image)

Command Syntax

The command syntax is as follows:

WriteTableToHTML(Parameter="Value",...)

Command Parameters

Parameter                   Description Default          
TableID
required
Identifier for the table to write. Can be specified using processor ${Property}. None – must be specified.
OutputFile
required
The name of the file to write, as an absolute path or relative to the command file location. Can be specified using processor ${Property}. None – must be specified.

Examples

See the automated tests.

Troubleshooting

See the main TSTool Troubleshooting documentation.

See Also