The <if> command

The <if> command allows its contents to be processed only if the associated condition evaluates to true.

For example:

<if var="Table-columns" test="greater" target="6">
  <set var="Min-width" value="1.5cm"/>

The content of an <if> command can be any combination of text, commands and custom markers that are well-formed in an XML sense.

There is no corresponding <else> command. If you need to choose from more than one possible action, use <switch>.