Skip to content

<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.

Module iso-fsFD

Attributes

Classes and content

May contain
Contained by

iso-fs

Note

May contain a feature structure, followed by a feature value; the two are separated by a then element.

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>

Content model

<content>
    <sequence>
      <alternate>
        <elementRef key="fs"/>
        <elementRef key="f"/>
      </alternate>
      <elementRef key="then"/>
      
        <classRef key="model.featureVal"/>
      
    </sequence>
  </content>