`<alt>` | (alternation) identifies an alternation or a set of choices among elements or passages.

Attributes:

`targets` | specifies the SGML identifiers of the alternative elements or passages.
| Datatype: IDREFS
| Values: Each value specified must be the same as that specified as value for an `ID` attribute for some other element in the current SGML document.
| Default: #REQUIRED

`mode` | states whether the alternations gathered in this collection are exclusive or inclusive.
| Datatype: (excl|incl)

Legal values:

`excl` | indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs.
`incl` | indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.

| Default: %INHERITED
`weights` | If `mode=excl` , each weight states the probability that the corresponding alternative occurs. If `mode=incl` each weight states the probability that the corresponding alternative occurs given that at least one of the other alternatives occurs.
| Datatype: NUMBERS
| Values: a list of numbers, in the range from 0 to 1 if `wScale=real` , and in the range from 0 to 100 if `wScale=perc` .
| Default: #IMPLIED
Note | If `mode=excl` then sum of weights must be 1 (or 100%). If `mode=incl` , then sum of weights must be in the range from 0 to the number of alternants (or 0 to 100% times the number of alternants).
`wScale` | indicates the scale used to express the value of the `weights` attribute value.
| Datatype: (perc|real)

Legal values:

`perc` | indicates that the weights are expressed as percentages.
`real` | indicates that the weights are expressed as values between 0 and 1.

| Default: %INHERITED
`targOrder` | specifies whether the targets are ordered.
| Datatype: (Y|N)

Legal values:

`Y` | indicates that the targets are ordered.
`N` | indicates that the targets are not ordered.

| Default: N
Note | This attribute is one of those assigned to elements of the pointer class. It is specified here so as to assign it a default value.

Example

    <alt mode="excl" targType='u u' targets='we.fun we.sun' weights='50 50'>

Note

Tagsetadditional tag set for
ClasscomplexVal, metadata, pointer [and indirectly also:] featureVal, globincl
Filename`teilink2.dtd`
Content: empty
ParentsaltGrp f fs if vDefault vRange
Children[none]
Declaration

    <!ELEMENT alt           - O  EMPTY                              >
    <!ATTLIST alt                %a.global
              type               CDATA               #IMPLIED
              resp               CDATA               #IMPLIED
              crdate             CDATA               #IMPLIED
              targType           NAMES               #IMPLIED
              evaluate           (all | one | none)  #IMPLIED
              targets            IDREFS              #REQUIRED
              mode               (excl | incl)       %INHERITED

              weights            NUMBERS             #IMPLIED
              wScale             (perc | real)       %INHERITED

              targOrder          (Y | N)             N              >

See 14.8

Back to index