https://github.com/TEIC/TEI
Raw File
Tip revision: 347c64fac3fa1a64ade0d8d1842813d4b8f7acec authored by Hugh Cayless on 12 May 2017, 16:57:59 UTC
Updates.
Tip revision: 347c64f
ref-teidata.numeric.html

<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!--THIS FILE IS GENERATED FROM AN XML MASTER. DO NOT EDIT (7)--><title>TEI data teidata.numeric </title><meta property="Language" content="en" /><meta property="DC.Title" content="TEI data teidata.numeric " /><meta property="DC.Language" content="SCHEME=iso639 en" /><meta property="DC.Creator.Address" content="tei@oucs.ox.ac.uk" /><meta charset="utf-8" /><link href="guidelines.css" rel="stylesheet" type="text/css" /><link href="odd.css" rel="stylesheet" type="text/css" /><link rel="stylesheet" media="print" type="text/css" href="guidelines-print.css" /><script type="text/javascript" src="jquery-1.2.6.min.js"></script><script type="text/javascript" src="columnlist.js"></script><script type="text/javascript" src="popupFootnotes.js"></script><script type="text/javascript">
        $(function() {
         $('ul.attrefs-class').columnizeList({cols:3,width:30,unit:'%'});
         $('ul.attrefs-element').columnizeList({cols:3,width:30,unit:'%'});
         $(".displayRelaxButton").click(function() {
           $(this).parent().find('.RNG_XML').toggle();
           $(this).parent().find('.RNG_Compact').toggle();
         });
         $(".tocTree .showhide").click(function() {
          $(this).find(".tocShow,.tocHide").toggle();
          $(this).parent().find("ul.continuedtoc").toggle();
	  });
        })
    </script><script type="text/javascript"><!--
var displayXML=0;
states=new Array()
states[0]="element-a"
states[1]="element-b"
states[2]="element-c"
states[3]="element-d"
states[4]="element-e"
states[5]="element-f"
states[6]="element-g"
states[7]="element-h"
states[8]="element-i"
states[9]="element-j"
states[10]="element-k"
states[11]="element-l"
states[12]="element-m"
states[13]="element-n"
states[14]="element-o"
states[15]="element-p"
states[16]="element-q"
states[17]="element-r"
states[18]="element-s"
states[19]="element-t"
states[20]="element-u"
states[21]="element-v"
states[22]="element-w"
states[23]="element-x"
states[24]="element-y"
states[25]="element-z"

function startUp() {

}

function hideallExcept(elm) {
for (var i = 0; i < states.length; i++) {
 var layer;
 if (layer = document.getElementById(states[i]) ) {
  if (states[i] != elm) {
    layer.style.display = "none";
  }
  else {
   layer.style.display = "block";
      }
  }
 }
 var mod;
 if ( mod = document.getElementById('byMod') ) {
     mod.style.display = "none";
 }
}

function showall() {
 for (var i = 0; i < states.length; i++) {
   var layer;
   if (layer = document.getElementById(states[i]) ) {
      layer.style.display = "block";
      }
  }
}

function showByMod() {
  hideallExcept('');
  var mod;
  if (mod = document.getElementById('byMod') ) {
     mod.style.display = "block";
     }
}

	--></script></head><body id="TOP"><div id="container"><div id="banner"><img src="Images/banner.jpg" alt="Text Encoding Initiative logo and banner" /></div></div><div class="mainhead"><h1>P5: 
    Guidelines for Electronic Text Encoding and Interchange</h1><p>Version 3.1.1a. Last updated on
	10th May 2017, revision bd8dda3</p></div><div class="main-content"><div class="miniTOC miniTOC_right"><ul class="subtoc"><li class="subtoc"></li><li class="subtoc"></li><li class="subtoc"><a class="navigation" href="index.html">Home</a></li></ul></div><div><h3 class="oddSpec" id="teidata.numeric">teidata.numeric</h3><table class="wovenodd"><tr><td colspan="2"><span class="label">teidata.numeric</span> defines the range of attribute values used for numeric values.</td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Module</span></td><td class="wovenodd-col2">tei — The TEI Infrastructure</td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Used by</span></td><td class="wovenodd-col2"><div class="parent"><div>Class: <ul class="attrefs-class"><li><a class="link_odd_class" title="provides attributes which can be used to position their parent element within a two dimensional coordinate system." href="ref-att.coordinated.html">att.coordinated</a>/@ulx </li><li><a class="link_odd_class" title="provides attributes which can be used to position their parent element within a two dimensional coordinate system." href="ref-att.coordinated.html">att.coordinated</a>/@uly </li><li><a class="link_odd_class" title="provides attributes which can be used to position their parent element within a two dimensional coordinate system." href="ref-att.coordinated.html">att.coordinated</a>/@lrx </li><li><a class="link_odd_class" title="provides attributes which can be used to position their parent element within a two dimensional coordinate system." href="ref-att.coordinated.html">att.coordinated</a>/@lry </li><li><a class="link_odd_class" title="provides attributes for describing the size of physical objects." href="ref-att.dimensions.html">att.dimensions</a>/@quantity </li><li><a class="link_odd_class" title="provides attributes to represent a regularized or normalized measurement." href="ref-att.measurement.html">att.measurement</a>/@quantity </li><li><a class="link_odd_class" title="provides attributes for specifying display and related properties of external media." href="ref-att.media.html">att.media</a>/@scale </li><li><a class="link_odd_class" title="provides attributes for describing numerical ranges." href="ref-att.ranging.html">att.ranging</a>/@atLeast </li><li><a class="link_odd_class" title="provides attributes for describing numerical ranges." href="ref-att.ranging.html">att.ranging</a>/@atMost </li><li><a class="link_odd_class" title="provides attributes for describing numerical ranges." href="ref-att.ranging.html">att.ranging</a>/@min </li><li><a class="link_odd_class" title="provides attributes for describing numerical ranges." href="ref-att.ranging.html">att.ranging</a>/@max </li></ul></div><div>Element: <ul class="attrefs-element"><li><a class="link_odd_element" title="specifies class membership of the documented element or class." href="ref-memberOf.html">memberOf</a>/@max </li><li><a class="link_odd_element" title="specifies class membership of the documented element or class." href="ref-memberOf.html">memberOf</a>/@min </li><li><a class="link_odd_element" title="(number) contains a number, written in any form." href="ref-num.html">num</a>/@value </li><li><a class="link_odd_element" title="(numeric value) represents the value part of a feature-value specification which contains a numeric value or range." href="ref-numeric.html">numeric</a>/@value </li><li><a class="link_odd_element" title="(numeric value) represents the value part of a feature-value specification which contains a numeric value or range." href="ref-numeric.html">numeric</a>/@max </li><li><a class="link_odd_element" title="indicates the numerical accuracy or precision associated with some aspect of the text markup." href="ref-precision.html">precision</a>/@stdDeviation </li></ul></div></div></td></tr>
  
  
  
  
  
  
  
  <tr><td class="wovenodd-col1"><span class="label" lang="en">Content model</span></td><td class="wovenodd-col2"><pre class="eg"><span class="element">&lt;content&gt;</span><br /> <span class="element">&lt;alternate&gt;</span><br />  <span class="element">&lt;dataRef <span class="attribute">name</span>="<span class="attributevalue">double</span>"/&gt;</span><br />  <span class="element">&lt;dataRef <span class="attribute">name</span>="<span class="attributevalue">token</span>"<br />   <span class="attribute">restriction</span>="<span class="attributevalue">(\-?[\d]+/\-?[\d]+)</span>"/&gt;</span><br />  <span class="element">&lt;dataRef <span class="attribute">name</span>="<span class="attributevalue">decimal</span>"/&gt;</span><br /> <span class="element">&lt;/alternate&gt;</span><br /><span class="element">&lt;/content&gt;</span></pre></td></tr><tr><td class="wovenodd-col1"><span class="label" lang="en">Declaration</span></td><td class="wovenodd-col2"><div class="displayRelax"><button class="displayRelaxButton"><span class="RNG_Compact">XML syntax</span><span class="RNG_XML">Compact syntax</span></button><pre class="RNG_XML"><span class="element">&lt;rng:define <span class="attribute">name</span>="<span class="attributevalue">teidata.numeric</span>"&gt;</span><br /> <span class="element">&lt;rng:choice&gt;</span><br />  <span class="element">&lt;rng:data <span class="attribute">type</span>="<span class="attributevalue">double</span>"/&gt;</span><br />  <span class="element">&lt;rng:data <span class="attribute">type</span>="<span class="attributevalue">token</span>"&gt;</span><br />   <span class="element">&lt;rng:param <span class="attribute">name</span>="<span class="attributevalue">pattern</span>"&gt;</span>(\-?[\d]+/\-?[\d]+)<span class="element">&lt;/rng:param&gt;</span><br />  <span class="element">&lt;/rng:data&gt;</span><br />  <span class="element">&lt;rng:data <span class="attribute">type</span>="<span class="attributevalue">decimal</span>"/&gt;</span><br /> <span class="element">&lt;/rng:choice&gt;</span><br /><span class="element">&lt;/rng:define&gt;</span></pre><pre class="RNG_Compact">
teidata.numeric =
   xsd:double | token { pattern = "(\-?[\d]+/\-?[\d]+)" } | xsd:decimal</pre></div></td></tr>
  <tr><td class="wovenodd-col1"><span class="label" lang="en">Note</span></td><td class="wovenodd-col2"><!-- --><p>Any numeric value, represented as a decimal number, in floating point format, or as a ratio.</p><p>To represent a floating point number, expressed in scientific notation, ‘E notation’, a variant of ‘exponential notation’, may be used. In this format, the value is expressed as two numbers separated by the letter E. The first number, the significand (sometimes called the mantissa) is given in decimal format, while the second is an integer. The value is obtained by multiplying the mantissa by 10 the number of times indicated by the integer. Thus the value represented in decimal notation as 1000.0 might be represented in scientific notation as 10E3.</p><p>A value expressed as a ratio is represented by two integer values separated by a solidus (/) character. Thus, the value represented in decimal notation as 0.5 might be represented as a ratio by the string 1/2.</p></td></tr>
  
  
</table></div></div><div class="stdfooter autogenerated"><p>
    [<a href="../../en/html/ref-teidata.numeric.html">English</a>]
    [<a href="../../de/html/ref-teidata.numeric.html">Deutsch</a>]
    [<a href="../../es/html/ref-teidata.numeric.html">Español</a>]
    [<a href="../../it/html/ref-teidata.numeric.html">Italiano</a>]
    [<a href="../../fr/html/ref-teidata.numeric.html">Français</a>]
    [<a href="../../ja/html/ref-teidata.numeric.html">日本語</a>]
    [<a href="../../ko/html/ref-teidata.numeric.html">한국어</a>]
    [<a href="../../zh-TW/html/ref-teidata.numeric.html">中文</a>]
    </p><hr /><div class="footer"><a class="plain" href="http://www.tei-c.org/About/">TEI Consortium</a> | <a class="plain" href="http://www.tei-c.org/About/contact.xml">Feedback</a></div><hr /><address><br />TEI Guidelines <a class="link_ref" href="AB.html#ABTEI4">Version</a> <a class="link_ref" href="../../readme-3.1.1.html">3.1.1a</a>. Last updated on <span class="date">10th May 2017</span>, revision <a class="link_ref" href="https://github.com/TEIC/TEI/commit/bd8dda3">bd8dda3</a>. This page generated on 2017-05-12T12:30:09Z.</address></div></body></html>
back to top