table

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
border Pixels optional
cellpadding Length optional
cellspacing Length optional
class xs:NMTOKENS optional
dir restriction of xs:token optional
frame TFrame optional
id xs:ID optional
lang LanguageCode optional
onclick Script optional
ondblclick Script optional
onkeydown Script optional
onkeypress Script optional
onkeyup Script optional
onmousedown Script optional
onmousemove Script optional
onmouseout Script optional
onmouseover Script optional
onmouseup Script optional
rules TRules optional
style StyleSheet optional
summary Text optional
title Text optional
width Length optional
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.

Used By

Complex Type button.content
Element button
Element Group block

Source

<xs:element name="table">
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" ref="caption"/>
      <xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="col"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="colgroup"/>
      </xs:choice>
      <xs:element minOccurs="0" ref="thead"/>
      <xs:element minOccurs="0" ref="tfoot"/>
      <xs:choice>
        <xs:element maxOccurs="unbounded" ref="tbody"/>
        <xs:element maxOccurs="unbounded" ref="tr"/>
      </xs:choice>
    </xs:sequence>
    <xs:attributeGroup ref="attrs"/>
    <xs:attribute name="summary" type="Text"/>
    <xs:attribute name="width" type="Length"/>
    <xs:attribute name="border" type="Pixels"/>
    <xs:attribute name="frame" type="TFrame"/>
    <xs:attribute name="rules" type="TRules"/>
    <xs:attribute name="cellspacing" type="Length"/>
    <xs:attribute name="cellpadding" type="Length"/>
  </xs:complexType>
</xs:element>

Sample