directives:ifdef/ifndef

ifdef and ifndef provide conditional translation based on whether or not a key is defined.

See also include, includex, and undef for use with conditional translation.

Xilize markup browser rendering
define. FIRST Sally
LAST Ride

The first American woman is space was ${FIRST} ${LAST}

Only one of the following is translated.

ifdef. FIRST bq. An example of conditional translation.

ifndef. FIRST bq. This is not translated since "FIRST" is defined.

The first American woman is space was Sally Ride

Only one of the following is translated.

An example of conditional translation.

XHTML generated

<p>The first American woman is space was Sally Ride</p>

<p>Only one of the following is translated.</p>

<blockquote>
<p>An example of conditional translation.</p>
</blockquote>