<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 | |||||||||||||||
Declaration |
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 { data.name }, attribute fVal { data.pointer }?, ( text | model.gLike | model.featureVal )* } | ||||||||||||||
Schematron | <s:rule context="tei:fVal"> <s:assert test="not(tei:* and text)"> A feature value cannot contain both text and element content</s:assert></s:rule> <s:rule context="tei:fVal"> <s:report test="count(tei:*)>1"> A feature value can contain only one child element</s:report></s:rule> | ||||||||||||||
Example | |||||||||||||||
Example | |||||||||||||||
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. |