elml:table

The element table allows to define a table out of table rows and table cells (table data and table
headings).

Element Information

Model

Children: elml:tablerow

Attributes

QName Type Fixed Default Use Inheritable Annotation
bibIDRef xs:string optional
cssClass xs:string optional
height xs:positiveInteger optional
The attribute height allows to specify the height of an image, multimedia object, table, etc. as a
positive Number.
icon xs:string optional
label elml:LabelType optional
The attribute label is restricted to 25 characters which can be a random selection from the values 'a-z',
'A-Z', '0-9' and '_'.
labelRef elml:LabelType optional
The attribute labelRef contains the references to a valid label of one other element within a lesson.
legend xs:string optional
The attribute legend contains a string representing an image or other elements legend.
pageNr xs:string optional
role xs:string optional
title xs:string optional
The attribute title contains a string representing a title.
units restriction of xs:string optional
The attribute units allows the values pixels or percent. It is used to specify what the units of the
numbers specified in the attributes width and height are.
visible xs:string optional
width xs:positiveInteger optional
The attribute width allows to specify the width of an image, multimedia object, table, etc. as a positive
Number.

Used By

Source

<xs:element name="table">
  <xs:annotation>
    <xs:documentation>The element table allows to define a table out of table rows and table cells (table data and table headings).</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="tablerow" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Each element tablerow defines one row of a table.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:choice maxOccurs="unbounded">
            <xs:element name="tabledata" type="elml:TableCellType" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Each element tabledata defines one table data cell of a table.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="tableheading" type="elml:TableCellType" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Each element tableheading defines one table heading cell of a table.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:choice>
          <xs:attributeGroup ref="elml:CSSClassImp"/>
          <xs:attributeGroup ref="elml:LabelImp"/>
          <xs:attributeGroup ref="elml:LabelRefImp"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attributeGroup ref="elml:LabelImp"/>
    <xs:attributeGroup ref="elml:LabelRefImp"/>
    <xs:attributeGroup ref="elml:TitleImp"/>
    <xs:attributeGroup ref="elml:IconImp"/>
    <xs:attributeGroup ref="elml:SizeImp"/>
    <xs:attributeGroup ref="elml:LegendImp"/>
    <xs:attributeGroup ref="elml:BibIDRefImp"/>
    <xs:attributeGroup ref="elml:BibPageNr"/>
    <xs:attributeGroup ref="elml:RoleImp"/>
    <xs:attributeGroup ref="elml:VisibleImp"/>
    <xs:attributeGroup ref="elml:CSSClassImp"/>
  </xs:complexType>
</xs:element>

Sample