<if>
<if> defines a conditional default value for a feature; the condition is specified as a feature structure, and is met if it subsumes the feature structure in the text for which a default value is sought. 18.11 Feature System Declaration | |
Module | iso-fs — 18 Feature Structures |
Attributes | Global attributes only |
Used by | |
May contain | |
Declaration |
element if { att.global.attributes, ( ( fs | f ), then, ( model.featureVal ) ) } |
Example | <vDefault> <if> <fs> <f name="VFORM"> <symbol value="INF"/> </f> <f name="SUBJ"> <binary value="true"/> </f> </fs> <then/> <symbol value="for"/> </if> </vDefault> |
Note | May contain a feature structure, followed by a feature value;
the two are separated by a then element. |