<xsd:element name="scalar" id="el.scalar">
<xsd:annotation>
<xsd:documentation>
<h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">An element to hold scalar data.</h:div>
<h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">
<h:tt>scalar</h:tt> holds scalar data under a single
generic container. The semantics are usually resolved by
linking to a dictionary.
<h:b>scalar</h:b> defaults to a scalar string but
has attributes which affect the type.
<h:p><h:tt>scalar</h:tt> does not necessarily reflect a physical object (for which
<h:a href="el.object">object</h:a> should be used). It may reflect a property of an object
such as temperature, size, etc. </h:p>
<h:p>Note that normal Schema validation tools cannot validate the data type
of <h:b>scalar</h:b> (it is defined as <h:tt>string</h:tt>), but that a temporary schema
can be constructed from the type and used for validation. Also the type
can be contained in a dictionary and software could decide to retrieve this
and use it for validation.</h:p>
</h:div>
<h:div class="example" href="scalar1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="title" />
<xsd:attributeGroup ref="id" />
<xsd:attributeGroup ref="convention" />
<xsd:attributeGroup ref="dictRef" />
<xsd:attributeGroup ref="dataType" />
<xsd:attributeGroup ref="errorValue" />
<xsd:attributeGroup ref="errorBasis" />
<xsd:attributeGroup ref="min" />
<xsd:attributeGroup ref="max" />
<xsd:attributeGroup ref="ref" />
<xsd:attributeGroup ref="units" />
<xsd:attributeGroup ref="constantToSI">
<xsd:annotation>
<xsd:documentation>
<h:div class="specific" xmlns:h="http://www.w3.org/1999/xhtml">Alternative to units</h:div>
<h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">Must be used in conjunction with unitType</h:div>
<h:div class="curation" xmlns:h="http://www.w3.org/1999/xhtml">2005-10-26: added</h:div>
</xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
<xsd:attributeGroup ref="multiplierToSI">
<xsd:annotation>
<xsd:documentation>
<h:div class="specific" xmlns:h="http://www.w3.org/1999/xhtml">Alternative to units</h:div>
<h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">Must be used in conjunction with unitType</h:div>
<h:div class="curation" xmlns:h="http://www.w3.org/1999/xhtml">2005-10-26: added</h:div>
</xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
<xsd:attributeGroup ref="unitType">
<xsd:annotation>
<xsd:documentation>
<h:div class="specific" xmlns:h="http://www.w3.org/1999/xhtml">Alternative to units</h:div>
<h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">Must be used in conjunction with multiplierToSI and/or constantToSI</h:div>
<h:div class="curation" xmlns:h="http://www.w3.org/1999/xhtml">2005-10-26: added</h:div>
</xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
|