<numeric>

<numeric> (numeric value) represents the value part of a feature-value specification which contains a numeric value or range. [18.3 Other Atomic Feature Values]
Moduliso-fs — 18 Feature Structures
Attributeatt.global (@xml:id, @n, @xml:lang, @rend, @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))
valuesupplies a lower bound for the numeric value represented, and also (if max is not supplied) its upper bound.
Zustand Obligatorisch
Datentyp

<rng:ref name="data.numeric"/>
data.numeric
Werte A real number or integer.
maxsupplies an upper bound for the numeric value represented.
Zustand Optional
Datentyp

<rng:ref name="data.numeric"/>
data.numeric
Werte A real number or integer.
truncspecifies whether the value represented should be truncated to give an integer value.
Zustand Optional
Datentyp

<rng:ref name="data.truthValue"/>
data.truthValue
Verwendet von
Enthalten in
Kann enthaltenLeeres Element
Deklaration

<rng:element name="numeric">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:attribute name="value">
  <rng:ref name="data.numeric"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="max">
   <rng:ref name="data.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="trunc">
   <rng:ref name="data.truthValue"/>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element numeric
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute value { data.numeric },
   attribute max { data.numeric }?,
   attribute trunc { data.truthValue }?,
   empty
}
Beispiel
<numeric value="42"/>

This represents the numeric value 42.

Beispiel
<numeric value="42.45" max="50" trunc="true"/>

This represents any of the nine possible integer values between 42 and 50 inclusive. If the trunc attribute had the value FALSE, this example would represent any of the infinite number of numeric values between 42.45 and 50.0