Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Model
Properties
Source
Used by
Included schema schemaTabular.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Describes tabular material
Properties
attribute form default unqualified
element form default qualified
version 2.3
Element Tabular
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

Contains one or more tables. This element is a wrapper for the table (or tables) and any associated content. The <table> element from the XHTML namespace describes the table itself, and appears as a child once for each table in the <Tabular> element.

The schema uses a modified form of the XHTML table model. The modified version tightens the model slightly and extends it to support legislation content. For instance, a tbody element is obligatory. In some areas unnecessary mark-up is omitted, e.g. cellspacing and cellpadding attributes. In addition the style attribute has been replaced with attributes from XSL:FO (XSL Formatting Objects, which use the http://www.w3.org/TR/xsl namespace), hereafter referred to as “FO”. The reason for this is to ease the task of processing documents and also to enable easier authoring by not requiring authors or processing applications to understand CSS.

A table may be given a title using either the <Title> child of the <Tabular> element. Alternatively, each individual table can be given a caption using an XHTML <caption> element within the <table> element. In general the table title should be described using the <Title> element rather than the <caption> element—the caption element should be reserved for when multiple tables occur in a <Tabular> element.

Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributesschemaLegislationTypes_xsd.tmp#TabularAttributesschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributesschemaTabular_xsd.tmp#Tabular_idschemaTabular_xsd.tmp#Tabular_OrientationschemaCommonElements_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_NumberschemaCommonElements_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_TitleschemaCommonElements_xsd.tmp#SubtitleschemaTabular_xsd.tmp#Tabular_TableTextschemaTabular_xsd.tmp#SubtableschemaTable-XHTML_xsd.tmp#table
Properties
content complex
Used by
Model
Children Number, Subtable, Subtitle, TableText, Title, table
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
Orientation restriction of xsd:string required

Defines the orientation of the table, including any titles and text

RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:ID optional
A unique identifier in the format t00000
xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
xml:lang xs:language optional
Should be used to indicate the main language of the content contained by the element upon which the attribute is appearing. Values should be taken from the ISO 639 standard. This attribute should be used where the language is different from the main language of the document.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<Tabular AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" FragmentId="" id="" xml:lang="" Match="" NumberOfProvisions="" Orientation="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation" xmlns:h="http://www.w3.org/1999/xhtml">
  <Number Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</Number>
  <Title Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</Title>
  <Subtitle Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,unbounded}</Subtitle>
  <TableText AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</TableText>
  <Subtable AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" FragmentId="" id="" xml:lang="" Match="" NumberOfProvisions="" Orientation="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,unbounded}</Subtable>
  <h:table background-color="" xml:base="" border-bottom-color="inherit" border-bottom-style="inherit" border-bottom-width="inherit" border-left-color="inherit" border-left-style="inherit" border-left-width="inherit" border-right-color="inherit" border-right-style="inherit" border-right-width="inherit" border-top-color="inherit" border-top-style="inherit" border-top-width="inherit" cols="" id="" xml:lang="" xml:space="" summary="" width="">{1,unbounded}</h:table>
</Tabular>
Source
<xsd:element name="Tabular">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Contains one or more tables. This element is a wrapper for the table (or tables) and any associated content. The
        <h:code><table></h:code>element from the XHTML namespace describes the table itself, and appears as a child once for each table in the
        <h:code><Tabular></h:code>element.</h:p>
      <h:p>The schema uses a modified form of the XHTML table model. The modified version tightens the model slightly and extends it to support legislation content. For instance, a tbody element is obligatory. In some areas unnecessary mark-up is omitted, e.g. cellspacing and cellpadding attributes. In addition the style attribute has been replaced with attributes from XSL:FO (XSL Formatting Objects, which use the
        <h:code>http://www.w3.org/TR/xsl</h:code>namespace), hereafter referred to as “FO”. The reason for this is to ease the task of processing documents and also to enable easier authoring by not requiring authors or processing applications to understand CSS.</h:p>
      <h:p>A table may be given a title using either the
        <h:code><Title></h:code>child of the
        <h:code><Tabular></h:code>element. Alternatively, each individual table can be given a caption using an XHTML
        <h:code><caption></h:code>element within the
        <h:code><table></h:code>element. In general the table title should be described using the
        <h:code><Title></h:code>element rather than the
        <h:code><caption></h:code>element—the caption element should be reserved for when multiple tables occur in a
        <h:code><Tabular></h:code>element.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Number" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Describes the number applying to the table(s) grouped by tabular (e.g. Table 1, Table 2, etc)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="Title" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Describes the title of the table(s) grouped by tabular (e.g. Table of Derivations)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="Subtitle" minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Describes the subtitle of the table(s) grouped by tabular</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="TableText" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Describes introductory (e.g. explanatory) text that precedes and belongs to the tables as defined by the tabular element</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:choice maxOccurs="unbounded">
            <xsd:group ref="TableText"/>
          </xsd:choice>
          <xsd:attributeGroup ref="CommonSubAttributes"/>
          <xsd:attribute name="id">
            <xsd:annotation>
              <xsd:documentation>A unique identifier in the format e00000</xsd:documentation>
            </xsd:annotation>
            <xsd:simpleType>
              <xsd:restriction base="xsd:ID">
                <xsd:pattern value="e[0-9]{5}"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:attribute>
        </xsd:complexType>
      </xsd:element>
      <xsd:choice>
        <xsd:element ref="Subtable" maxOccurs="unbounded"/>
        <xsd:element ref="xhtml:table" maxOccurs="unbounded"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonSubAttributes"/>
    <xsd:attributeGroup ref="TabularAttributes"/>
    <xsd:attributeGroup ref="FragmentAttributes"/>
    <xsd:attribute name="id">
      <xsd:annotation>
        <xsd:documentation>A unique identifier in the format t00000</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:ID">
          <xsd:pattern value="t[0-9]{5}"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="Orientation" use="required">
      <xsd:annotation>
        <xsd:documentation>
          <h:p>Defines the orientation of the table, including any titles and text</h:p>
        </xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="portrait"/>
          <xsd:enumeration value="landscape"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element Tabular / TableText
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Describes introductory (e.g. explanatory) text that precedes and belongs to the tables as defined by the tabular element
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributesschemaTabular_xsd.tmp#Tabular_Tabular_TableText_idschemaCommonElements_xsd.tmp#ParaschemaLegislationNumberedSections_xsd.tmp#P1schemaLegislationTypes_xsd.tmp#TableTextLocalschemaTableTypes_xsd.tmp#TableText
Properties
content complex
minOccurs 0
Model
((Para | P1))
Children P1, Para
Attributes
QName Type Use Annotation
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
id restriction of xsd:ID optional
A unique identifier in the format e00000
xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
xml:lang xs:language optional
Should be used to indicate the main language of the content contained by the element upon which the attribute is appearing. Values should be taken from the ISO 639 standard. This attribute should be used where the language is different from the main language of the document.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<TableText AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <Para Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Para>
  <P1 AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" DocumentURI="" FootnoteRef="" FragmentId="" id="" IdURI="" xml:lang="" Match="" NotesURI="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" shortId="" xml:space="" Status="" ValidDates="" Version="">{1,1}</P1>
</TableText>
Source
<xsd:element name="TableText" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Describes introductory (e.g. explanatory) text that precedes and belongs to the tables as defined by the tabular element</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:choice maxOccurs="unbounded">
      <xsd:group ref="TableText"/>
    </xsd:choice>
    <xsd:attributeGroup ref="CommonSubAttributes"/>
    <xsd:attribute name="id">
      <xsd:annotation>
        <xsd:documentation>A unique identifier in the format e00000</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:ID">
          <xsd:pattern value="e[0-9]{5}"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element Subtable
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

This is the top level wrapper for an external subtable

These are used when large tables are split into subcomponents which are stored externally.

The subcomponents employ the schema modified form of the XHTML table model.

The Subtable element provides the wrapper to the subcomponent referrences and details

Each individual table can have a caption. To do this the caption element is used within each table needing a caption. It is therefore expected that in general the table title will be described using the Title element rather than the caption element and that the caption element should be reserved for when multiple tables occur in a Tabular element.

Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributesschemaLegislationTypes_xsd.tmp#TabularAttributesschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributesschemaTabular_xsd.tmp#Subtable_idschemaTabular_xsd.tmp#Subtable_OrientationschemaCommonElements_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_NumberschemaCommonElements_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_TitleschemaCommonElements_xsd.tmp#SubtitleschemaIncludedDocument_xsd.tmp#IncludedDocument
Properties
content complex
Used by
Element Tabular
Model
Children IncludedDocument, Number, Subtitle, Title
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
Orientation restriction of xsd:string required

Defines the orientation of the table, including any titles and text

RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:ID optional
A unique identifier in the format t00000
xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
xml:lang xs:language optional
Should be used to indicate the main language of the content contained by the element upon which the attribute is appearing. Values should be taken from the ISO 639 standard. This attribute should be used where the language is different from the main language of the document.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<Subtable AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" FragmentId="" id="" xml:lang="" Match="" NumberOfProvisions="" Orientation="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <Number Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</Number>
  <Title Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</Title>
  <Subtitle Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,unbounded}</Subtitle>
  <IncludedDocument AltVersionRefs="" xml:base="" id="" xml:lang="" ResourceRef="" xml:space="">{1,unbounded}</IncludedDocument>
</Subtable>
Source
<xsd:element name="Subtable">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>This is the top level wrapper for an external subtable</h:p>
      <h:p>These are used when large tables are split into subcomponents which are stored externally.</h:p>
      <h:p>The subcomponents employ the schema modified form of the XHTML table model.</h:p>
      <h:p>The Subtable element provides the wrapper to the subcomponent referrences and details</h:p>
      <h:p>Each individual table can have a caption. To do this the caption element is used within each table needing a caption. It is therefore expected that in general the table title will be described using the Title element rather than the caption element and that the caption element should be reserved for when multiple tables occur in a Tabular element.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Number" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Describes the number applying to the table(s) grouped by tabular (e.g. Table 1, Table 2, etc)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="Title" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Describes the title of the table(s) grouped by tabular (e.g. Table of Derivations)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="Subtitle" minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Describes the subtitle of the table(s) grouped by tabular</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="IncludedDocument" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonSubAttributes"/>
    <xsd:attributeGroup ref="TabularAttributes"/>
    <xsd:attributeGroup ref="FragmentAttributes"/>
    <xsd:attribute name="id">
      <xsd:annotation>
        <xsd:documentation>A unique identifier in the format t00000</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:ID">
          <xsd:pattern value="t[0-9]{5}"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="Orientation" use="required">
      <xsd:annotation>
        <xsd:documentation>
          <h:p>Defines the orientation of the table, including any titles and text</h:p>
        </xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="portrait"/>
          <xsd:enumeration value="landscape"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Attribute Tabular / TableText / @id
Namespace No namespace
Annotations
A unique identifier in the format e00000
Properties
content simple
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (e[0-9]{5})
Used by
Source
<xsd:attribute name="id">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format e00000</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:ID">
      <xsd:pattern value="e[0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Subtable / @id
Namespace No namespace
Annotations
A unique identifier in the format t00000
Properties
content simple
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (t[0-9]{5})
Used by
Element Subtable
Source
<xsd:attribute name="id">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format t00000</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:ID">
      <xsd:pattern value="t[0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Subtable / @Orientation
Namespace No namespace
Annotations

Defines the orientation of the table, including any titles and text

Properties
use required
Facets
enumeration portrait
enumeration landscape
Used by
Element Subtable
Source
<xsd:attribute name="Orientation" use="required">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Defines the orientation of the table, including any titles and text</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="portrait"/>
      <xsd:enumeration value="landscape"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Tabular / @id
Namespace No namespace
Annotations
A unique identifier in the format t00000
Properties
content simple
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (t[0-9]{5})
Used by
Element Tabular
Source
<xsd:attribute name="id">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format t00000</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:ID">
      <xsd:pattern value="t[0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Tabular / @Orientation
Namespace No namespace
Annotations

Defines the orientation of the table, including any titles and text

Properties
use required
Facets
enumeration portrait
enumeration landscape
Used by
Element Tabular
Source
<xsd:attribute name="Orientation" use="required">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Defines the orientation of the table, including any titles and text</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="portrait"/>
      <xsd:enumeration value="landscape"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>