<?xml version="1.0"?>

<!--

ARM document for Modules Repository demo
Taken from 1999-05-11 draft of the Value_with_unit module
Author: Josh Lubell, lubell@cme.nist.gov

CHANGE LOG

$Log: arm.xml,v $
Revision 1.2  1999/06/24 19:57:19  lubell
uses a single style sheet now

Revision 1.1  1999/06/24 19:44:55  lubell
Initial revision

-->

<?xml-stylesheet href="arm.css" type="text/css"?>

<!DOCTYPE schema SYSTEM "express.dtd">

<schema xmlns:html="http://www.w3.org/TR/REC-html40"
	id="S_value_with_unit_arm">

  <buttons>
    <html:button type="button" onclick="showAll();">Show All</html:button>
    <html:button type="button" onclick="hideAll();">Hide All</html:button>
  </buttons>

  <name><html:button
		     onclick="toggleDescription(this,'uofs');">value_with_unit_arm</html:button></name>
  <uofs>
    <uof id="U_value_with_unit">
      <uofname>value_with_unit</uofname>
      <description>
	<para>

The <idval linkend="U_value_with_unit">value_with_unit</idval> UoF
specifies the definitional information for of strings in multiple
languages.  It supports the use of a preferred, or default language,
and the optional association of any number of additional descriptions
in different languages, as well as specification of the language and
optionally of the country associated with each.

</para>
      </description>
    </uof>
  </uofs>
  <types>
    <typedecl id="T_max_min">
      <name><html:button onclick="toggleDescription(this);">max_min</html:button></name>
      <description>
	<para>

A <typeref linkend="T_max_min">max_min</typeref> type specifies
either 'max' or 'min' qualifiers to be associated with a limiting
value.

</para>
      </description>
      <basetype>
	<enum>
	  <member>max</member>
	  <member>min</member>
	</enum>
      </basetype>
    </typedecl>
  </types>
  <entities>
    <entitydecl id="E_nominal_value">
      <name><html:button onclick="toggleDescription(this);">nominal_value</html:button></name>
      <description>
	<para>

A <entityref> <idval
linkend="E_nominal_value">nominal_value</idval> </entityref> is a
quantity expressed with a numerical value and a unit.

</para>
      </description>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">value_component</html:button></name>
	<description>
	  <para>

specifies the quantity of the <entityref> <idval
linkend="E_nominal_value">nominal_value</idval> </entityref>.

</para>
	</description>
	<attributetype>
	  <real>
	  </real>
	</attributetype>
      </attributedef>
    </entitydecl>
    <entitydecl id="E_unit">
      <name><html:button onclick="toggleDescription(this);">unit</html:button></name>
      <description>
	<para>

A <entityref> <idval linkend="E_unit">unit</idval> </entityref> is
a quantity chosen as a standard in terms of which other quantities may
be expressed.

</para>
	<para>

The types of units supported by this standard are SI units as well as
derived or conversion based units as defined in ISO 10303-41.

</para>
      </description>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">unit_name</html:button></name>
	<description>
	  <para>

specifies the term representing the kind of unit.

</para>
	  <example>
	    <para>

'metre', 'inch', or 'millimetre' are examples for the unit_name.

</para>
	  </example>
	</description>
	<attributetype>
	  <string/>
	</attributetype>
      </attributedef>
    </entitydecl>
    <entitydecl id="E_value_limit">
      <name><html:button onclick="toggleDescription(this);">value_limit</html:button></name>
      <description>
	<para>

A <entityref> <idval linkend="E_value_limit">value_limit</idval>
</entityref> is a qualified numerical value representing either the
lower limit or the upper limit of a particular physical
characteristic.

</para>
	<example>
	  <para>

'30.5 max' and '5 min' are examples for a <entityref> <idval
linkend="E_value_limit">value_limit</idval> </entityref>.

</para>
	</example>
      </description>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">limit</html:button></name>
	<description>
	  <para>

specifies the value of the limit.

</para>
	</description>
	<attributetype>
	  <real>
	  </real>
	</attributetype>
      </attributedef>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">limit_qualifier</html:button></name>
	<description>
	  <para>

specifies the kind of limit.

</para>
	</description>
	<attributetype>
	  <typeref linkend="T_max_min">max_min</typeref>
	</attributetype>
      </attributedef>
    </entitydecl>
    <entitydecl id="E_value_range">
      <name><html:button onclick="toggleDescription(this);">value_range</html:button></name>
      <description>
	<para>

A <entityref> <idval linkend="E_value_range">value_range</idval>
</entityref> is a pair of numerical values representing the range in
which a value shall lie.

</para>
	<example>
	  <para>

This kind of tolerance may replace a nominal value.  All values within
the range are considered to be equally good. Usually, this way of
specifying a value is used for clearances rather than sizes.

</para>
	</example>
      </description>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">lower_limit</html:button></name>
	<description>
	  <para>

specifies the minimum acceptable value constrained by the <entityref>
<idval linkend="E_value_range">value_range</idval> </entityref>.

</para>
	</description>
	<attributetype>
	  <real>
	  </real>
	</attributetype>
      </attributedef>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">upper_limit</html:button></name>
	<description>
	  <para>

specifies the maximum acceptable value constrained by the <entityref>
<idval linkend="E_value_range">value_range</idval> </entityref>.

</para>
	</description>
	<attributetype>
	  <real>
	  </real>
	</attributetype>
      </attributedef>
    </entitydecl>
    <entitydecl id="E_value_with_unit">
      <name><html:button onclick="toggleDescription(this);">value_with_unit</html:button></name>
      <description>
	<para>

A <entityref> <idval
linkend="E_value_with_unit">value_with_unit</idval> </entityref> is
either a single numerical measure, or a range of numerical measures
with upper, lower, or upper and lower bounds.  Each <entityref>
<idval linkend="E_value_with_unit">value_with_unit</idval>
</entityref> is a <entityref> <idval
linkend="E_nominal_value">nominal_value</idval> </entityref>, a
<entityref> <idval linkend="E_value_limit">value_limit</idval>
</entityref>, or a <entityref> <idval
linkend="E_value_range">value_range</idval> </entityref>.

</para>
      </description>
      <supertypeconstraint>
	<abstractsupertype>
	  <supertypefactor>
	    <entityref>
	      <idval linkend="E_nominal_value">nominal_value</idval>
	    </entityref>
	    <entityref>
	      <idval linkend="E_value_limit">value_limit</idval>
	    </entityref>
	    <entityref>
	      <idval linkend="E_value_range">value_range</idval>
	    </entityref>
	  </supertypefactor>
	</abstractsupertype>
      </supertypeconstraint>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">significant_digits</html:button></name>
	<description>
	  <para>

specifies the number of decimal digits that are relevant for the use
of the <entityref> <idval
linkend="E_value_with_unit">value_with_unit</idval> </entityref>.
If present, the numerical measure or range may be specified using more
digits than the significant digits but shall not be specified using
fewer digits.

</para>
	</description>
	<optional/>
	<attributetype>
	  <integer/>
	</attributetype>
      </attributedef>
      <attributedef>
	<name><html:button onclick="toggleDescription(this);">unit_component</html:button></name>
	<description>
	  <para>

specifies the unit in which the <entityref> <idval
linkend="E_value_with_unit">value_with_unit</idval> </entityref> is
expressed.

</para>
	</description>
	<optional/>
	<attributetype>
	  <entityref>
	    <idval linkend="E_unit">unit</idval>
	  </entityref>
	</attributetype>
      </attributedef>
    </entitydecl>
  </entities>
  <html:script src="toggle.js"/>
</schema>