<f>
<f> (feature) represents a feature value specification, that is, the association of a name with a value of any of several different types. [18.2 Elementary Feature Structures and the Binary Feature Value] | |||||||||||||||
Module | iso-fs — Feature Structures | ||||||||||||||
Attributes | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) att.datcat (@datcat, @valueDatcat)
| ||||||||||||||
Contained by | |||||||||||||||
May contain | |||||||||||||||
Note | If the element is empty then a value must be supplied for the fVal attribute. The content of f may also be textual, with the assumption that the data type of the feature value is determined by the schema—this is the approach used in many language-technology-oriented projects and recommendations. | ||||||||||||||
Example | |||||||||||||||
Example | |||||||||||||||
Schematron | <sch:report test="tei:* and text()[normalize-space(.) ne '']">A feature value cannot contain both text and element content</sch:report> | ||||||||||||||
Schematron | <sch:report test="count(tei:*) gt 1">A feature value can contain only one child element</sch:report> | ||||||||||||||
Content model | <content> | ||||||||||||||
Schema Declaration | <rng:element name="f"> element f { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.datcat.attributes, attribute name { teidata.name }, attribute fVal { teidata.pointer }?, ( text | model.gLike | model.featureVal )* } |