Define the Format of an Attribute
- Last UpdatedJan 24, 2023
- 1 minute read
Each attribute is output using a single text format, with the variable %TAG% set to the tag defined for the attribute, and %VALUE% set to the value of the attribute.
The HTML needed for one line of a table is:
<TR><TD>Valve</TD><TD>/V102</TD></TR>
and so the command needed is:
ATTRIBUTE_FORMATÊ
|<TR><TD>%TAG%</TD><TD>%VALUE%</TD></TR>|
As another example, to create a file with attribute lines looking like:
Valve = "/V102"
use the command:
ATTRIBUTE_FORMAT |%TAG% = "%VALUE%"|