Skip to content

<cond>

conditional feature-structure constraint

defines a conditional feature-structure constraint; the consequent and the antecedent are specified as feature structures or feature-structure collections; the constraint is satisfied if both the antecedent and the consequent subsume a given feature structure, or if the antecedent does not.

Module iso-fsFD

Attributes

Classes and content

May contain

iso-fs

Contained by

Note

May contain an antecedent feature structure, an empty then element, and a consequent feature structure.

Example

<cond>
  <fs>
    <f name="BAR">
      <symbol value="1"/>
    </f>
  </fs>
  <then/>
  <fs>
    <f name="SUBCAT">
      <binary value="false"/>
    </f>
  </fs>
</cond>

Content model

<content>
    <sequence>
      <alternate>
        <elementRef key="fs"/>
        <elementRef key="f"/>
      </alternate>
      <elementRef key="then"/>
      <alternate>
        <elementRef key="fs"/>
        <elementRef key="f"/>
      </alternate>
    </sequence>
  </content>