## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <f>

`<f>` | (Feature) associates a name with a value of any of several different types.

Attributes

(In addition to global attributes)

`name` | provides a name for a feature.
| Datatype: NMTOKEN
| Values: A name token.
| Default: #REQUIRED

`org` | indicates organization of given value or values as singleton, set, bag or list.
| Datatype: (single|set|bag|list)

Legal values are:

single | indicates that the given value is a singleton.
set | indicates that the given values are organized as a set.
bag | indicates that the given values are organized as a bag (multiset).
list | indicates that the given values are organized as a list.

| Default: #IMPLIED
Note | If the `org` attribute value has the value `single`, and more than one value for the feature is given, then only the first value is used.
`rel` | indicates the relation between the values that are given as the content of the feature or pointed at by the `fVal` attribute and the actual values of the feature.
| Datatype: (eq|ne|sb|ns)

Legal values are:

eq | indicates that the given values are the actual values.
ne | indicates that the given values are not the actual values.
sb | indicates that the given values are a subset, subbag or sublist of the actual values.
ns | indicates that the given values are not a subset, subbag or sublist of the actual values.

| Default: eq
Note | When the `org` attribute value has the value `single`, then the values `sb` and `ns` are equivalent to the values `eq` and `ne` respectively.
`fVal` | points to the `id` attributes of feature values.
| Datatype: IDREFS
| Values: one or more valid identifiers, separated by white space.
| Default: #IMPLIED
Note | May be used instead of content.

Example

    <f name="gender"><sym value="feminine"/></f>

Note

If content is empty and no `fVal` attribute is present, then value is that specified by `<default>`.

Module Declared in file teifs2; Additional tag set for feature structures: enabled by TEI.fs
Data Description Exactly one null value, or zero or more values other than null.
May contain alt any dft fs minus msr nbr none null plus rate str sym uncertain vAlt
May occur within fAlt fLib fs
Declaration

    <!ELEMENT f %om.RO; ( null | ( plus | minus | any | none | dft | uncertain |
                                   sym | nbr | msr | rate | str | vAlt | alt | fs )* ) >
    <!ATTLIST f
          %a.global;
          name NMTOKEN #REQUIRED
          org (single|set|bag|list) #IMPLIED
          rel (eq|ne|sb|ns) "eq"
          fVal IDREFS #IMPLIED>

See further 16.2 Elementary Feature Structures: Features with Binary Values

Up: 35 Elements