element table

element {http://www.xml-cml.org/schema/stmml}table

Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://www.xml-cml.org/schema/stmml
Declared Namespacesxmlns:sch=http://www.ascc.net/xml/schematron
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns=http://www.xml-cml.org/schema/stmml


Source

<xsd:element name="table" id="el.table">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">A rectangular table of any quantities</div>
            <
div class="description">
                <
p>By default
                    
<tt>table</tt>
represents a rectangular table of any quantities
representable as XSD or STMML dataTypes. The default layout is columnwise,
with
                    
<tt>columns</tt>
columns,
where each column is a (homogeneous)
                    
<a href="el.array">array</a>
of
size
                    
<tt>rows</tt>
data. This is the "normal" orientation of data tables
but the table display could be transposed by XSLT transformation if required.
Access is to columns, and thence to the data within them. DataTyping, delimiters,
etc are delegated to the arrays, which must all be of the same size. For
verification it is recommended that every array carries a
                    
<tt>size</tt>
attribute.
</p>
            </
div>
            <
div class="example">
                <
pre>
<table rows="3" columns="2" title="people">
<array title="age" dataType="xsd:integer">3 5 7</array>
<array title="name" dataType="xsd:string">Sue Fred Sandy</array>
</table>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:complexType>
        <
xsd:sequence>
            <
xsd:element ref="array" maxOccurs="unbounded"/>
        </
xsd:sequence>
        <
xsd:attribute name="rows" type="sizeType" use="required">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="description">
                        <
p>Number of rows</p>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="columns" type="sizeType" use="required">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="description">
                        <
p>Number of columns</p>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attributeGroup ref="tit_id_conv_dictGroup"/>
    </
xsd:complexType>
</
xsd:element>


Documentation

A rectangular table of any quantities

By default table represents a rectangular table of any quantities representable as XSD or STMML dataTypes. The default layout is columnwise, with columns columns, where each column is a (homogeneous) array of size rows data. This is the "normal" orientation of data tables but the table display could be transposed by XSLT transformation if required. Access is to columns, and thence to the data within them. DataTyping, delimiters, etc are delegated to the arrays, which must all be of the same size. For verification it is recommended that every array carries a size attribute.

<table rows="3" columns="2" title="people">
  <array title="age" dataType="xsd:integer">3 5 7</array>
  <array title="name" dataType="xsd:string">Sue Fred Sandy</array>
</table>


element table


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.