21.4.2.12 else
This element is similar to an else statement in a programming language in that it wraps elements which are to be used when the if conditionals are not true.
[Example: Consider the following example of an else element in a DrawingML diagram within the context of a choose statement:
<choose name="Name1">
<if name="Name2" func="var" arg="dir" op="equ" val="norm">
<alg type="snake">
<param type="grDir" val="tL"/>
<param type="flowDir" val="row"/>
<param type="contDir" val="sameDir"/>
<param type="off" val="ctr"/>
</alg>
</if>
<else name="Name3">
<alg type="snake">
<param type="grDir" val="tR"/>
<param type="flowDir" val="row"/>
<param type="contDir" val="sameDir"/>
<param type="off" val="ctr"/>
</alg>
</else>
</choose>
In this example, a else element is used to define a set of parameters associated with the snake algorithm when the diagram is reversed. end example]
Attributes
name (Name)
A unique name associated with the choose statement.
[Example:
Consider the following example of a else element in a DrawingML diagram:
<else
…
name="Name1">
</else>
In this example, the else element is named Name1. end example].
The possible values for this attribute are defined by the W3C XML Schema string
datatype.
[Note: The W3C XML Schema definition of this element’s content model (CT_Otherwise) is located in A.5.3. end note]