nitf:table

Partial description	Table of data.
Full description	Form is like the form of HTML tables.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
align restriction of string optional
Where the table should appear with respect to surrounding text. (Controlled vocabulary.)
border string optional
Describes how the border (if any) should be rendered.
cellpadding string optional
A measurement of the number of pixels between a cell's border and its text.
cellspacing string optional
A measurement of the number of pixels between cells.
class string optional
An open placeholder for categorization.
cols NMTOKEN optional
Number of columns in the table.
frame restriction of string optional
Specification of which parts of the frame around the table should be rendered.
id ID optional
An XML-specific identifier for the element.
rules restriction of string optional
Indicates the use of rules/lines between rows and columns.
style string optional
An open placeholder for reference by an external stylesheet.
tabletype ENTITY optional
Holds style information.
width string optional
Width of the table, in pixels.
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.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://iptc.org/std/NITF/2006-10-18/'

Used By

Element Group nitf:blockContent
Element nitf:nitf-table

Source

<element name="table">
  <annotation>
    <documentation>Partial description Table of data. Full description Form is like the form of HTML tables.</documentation>
  </annotation>
  <complexType>
    <sequence>
      <element ref="nitf:caption" minOccurs="0"/>
      <choice>
        <element ref="nitf:col" minOccurs="0"/>
        <element ref="nitf:colgroup" minOccurs="0"/>
      </choice>
      <element ref="nitf:thead" minOccurs="0"/>
      <element ref="nitf:tfoot" minOccurs="0"/>
      <choice>
        <element ref="nitf:tbody"/>
        <element ref="nitf:tr" minOccurs="0" maxOccurs="unbounded"/>
      </choice>
    </sequence>
    <attributeGroup ref="nitf:commonNITFAttributes"/>
    <attribute name="tabletype" type="ENTITY" use="optional">
      <annotation>
        <documentation>Holds style information.</documentation>
      </annotation>
    </attribute>
    <attribute name="align" use="optional">
      <annotation>
        <documentation>Where the table should appear with respect to surrounding text. (Controlled vocabulary.)</documentation>
      </annotation>
      <simpleType>
        <restriction base="string">
          <enumeration value="left"/>
          <enumeration value="center"/>
          <enumeration value="right"/>
        </restriction>
      </simpleType>
    </attribute>
    <attribute name="width" type="string" use="optional">
      <annotation>
        <documentation>Width of the table, in pixels.</documentation>
      </annotation>
    </attribute>
    <attribute name="cols" type="NMTOKEN" use="optional">
      <annotation>
        <documentation>Number of columns in the table.</documentation>
      </annotation>
    </attribute>
    <attribute name="border" type="string" use="optional">
      <annotation>
        <documentation>Describes how the border (if any) should be rendered.</documentation>
      </annotation>
    </attribute>
    <attribute name="frame" use="optional">
      <annotation>
        <documentation>Specification of which parts of the frame around the table should be rendered.</documentation>
      </annotation>
      <simpleType>
        <restriction base="string">
          <enumeration value="void"/>
          <enumeration value="above"/>
          <enumeration value="below"/>
          <enumeration value="hsides"/>
          <enumeration value="lhs"/>
          <enumeration value="rhs"/>
          <enumeration value="vsides"/>
          <enumeration value="box"/>
          <enumeration value="border"/>
        </restriction>
      </simpleType>
    </attribute>
    <attribute name="rules" use="optional">
      <annotation>
        <documentation>Indicates the use of rules/lines between rows and columns.</documentation>
      </annotation>
      <simpleType>
        <restriction base="string">
          <enumeration value="none"/>
          <enumeration value="basic"/>
          <enumeration value="rows"/>
          <enumeration value="cols"/>
          <enumeration value="all"/>
        </restriction>
      </simpleType>
    </attribute>
    <attribute name="cellspacing" type="string" use="optional">
      <annotation>
        <documentation>A measurement of the number of pixels between cells.</documentation>
      </annotation>
    </attribute>
    <attribute name="cellpadding" type="string" use="optional">
      <annotation>
        <documentation>A measurement of the number of pixels between a cell's border and its text.</documentation>
      </annotation>
    </attribute>
  </complexType>
</element>

Sample