<cond>
<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. [18.11 Feature System Declaration] | |
Module | iso-fs — Feature Structures |
Attributes | att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) |
Member of | |
Contained by | iso-fs: fsConstraints |
May contain | |
Declaration |
element cond { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, ( ( fs | f ), then, ( fs | f ) ) } |
Example | <cond> <fs> <f name="BAR"> <symbol value="1"/> </f> </fs> <then/> <fs> <f name="SUBCAT"> <binary value="false"/> </f> </fs> </cond> |
Note | May contain an antecedent feature structure, an empty then element, and a consequent feature structure. |