<numeric>

<numeric> (un valore numerico) rappresenta la parte di valore di una specifica del valore dei tratti che contiene un valore o una gamma di valori numerici. 18.3 Other Atomic Feature Values
Moduloiso-fs — 18 Feature Structures
Attributi
valuefornisce un limite inferiore al valore numerico rappresentato e anche (qualora l'attributo max (maz) non sia presente) il limite superiore.
Stato Richiesto
Tipo di dati

<rng:ref name="data.numeric"/>
data.numeric
Valori A real number or integer.
maxfornisce un superiore inferiore al valore numerico rappresentato.
Stato Opzionale
Tipo di dati

<rng:ref name="data.numeric"/>
data.numeric
Valori A real number or integer.
truncindica se il valore rappresentato debba essere troncato per ottenere un numero intero.
Stato Opzionale
Tipo di dati

<rng:ref name="data.truthValue"/>
data.truthValue
Usato da
Può contenereElemento vuoto
Dichiarazione

<rng:element name="numeric">
<rng:ref name="att.global.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,
   attribute value { data.numeric },
   attribute max { data.numeric }?,
   attribute trunc { data.truthValue }?,
   empty
}
Esempio
<numeric value="42"/>

This represents the numeric value 42.

Esempio
<numeric value="42.45max="50trunc="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