Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Model
Properties
Source
Used by
Included schema schemaFootnote.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Describes footnote material
Properties
attribute form default unqualified
element form default qualified
version 2.0
Element FootnoteRef
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Describes a reference (link) to a footnote
Diagram
DiagramschemaFootnote_xsd.tmp#FootnoteRef_RefschemaLegislationCommonAttributes_xsd.tmp#CommonAttributes
Properties
content complex
Used by
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
Ref xsd:string required
The Ref attribute should point to an ID attribute on a footnote
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

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.
Source
<xsd:element name="FootnoteRef">
  <xsd:annotation>
    <xsd:documentation>Describes a reference (link) to a footnote</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Ref" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>The Ref attribute should point to an ID attribute on a footnote</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attributeGroup ref="CommonAttributes"/>
  </xsd:complexType>
</xsd:element>
Element Footnote
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

Describes an individual footnote.

Footnotes generally do not have numbers associated with them. These should be auto-generated. However, if it is important to retain the footnote number (for whatever reason) then the <Number> element can be used to override automatic footnote numbering. The value of the element should be the text required as the number. Any footnotes following on from those with overridden numbers should continue the sequence from before the overridden value, e.g. footnotes may be numbered, 1, 2, 2A, 3, 4 …

It is recommended not to override footnote numbers because a rendering application must generate suitable numbers automatically, and overriding them may cause formatting issues. For example, if a document reuses the same footnote number in multiple places (like in a printed UK SI, where numbering restarts on each page), a page may show multiple footnotes with the same number or non-sequential numbering if it is rendered with different page boundaries to those expected by the drafter (for example, if the document was displayed on a web page).

A limitation of not storing footnote numbers is that it complicates referencing a footnote from another document. We recommend overriding the footnote number only if it is necessary to ensure a cross-reference from another document is correct.

Footnote numbers may also be necessary in footnotes to images, as it is not possible to put a footnote cross-reference in an image. This means that a rendering application would not be able to reliably calculate a suitable number and so the footnote itself must specify one.

Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributesschemaFootnote_xsd.tmp#Footnote_idschemaFootnote_xsd.tmp#Footnote_NumberschemaFootnote_xsd.tmp#Footnote_FootnoteText
Properties
content complex
Used by
Model
Children FootnoteText, Number
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 required
A unique identifier in the format f00000
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
<Footnote AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <Number>{0,1}</Number>
  <FootnoteText AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</FootnoteText>
</Footnote>
Source
<xsd:element name="Footnote">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Describes an individual footnote.</h:p>
      <h:p>Footnotes generally do not have numbers associated with them. These should be auto-generated. However, if it is important to retain the footnote number (for whatever reason) then the
        <code><Number></code>element can be used to override automatic footnote numbering. The value of the element should be the text required as the number. Any footnotes following on from those with overridden numbers should continue the sequence from before the overridden value, e.g. footnotes may be numbered, 1, 2, 2A, 3, 4 …</h:p>
      <h:p>It is recommended not to override footnote numbers because a rendering application must generate suitable numbers automatically, and overriding them may cause formatting issues. For example, if a document reuses the same footnote number in multiple places (like in a printed UK SI, where numbering restarts on each page), a page may show multiple footnotes with the same number or non-sequential numbering if it is rendered with different page boundaries to those expected by the drafter (for example, if the document was displayed on a web page).</h:p>
      <h:p>A limitation of not storing footnote numbers is that it complicates referencing a footnote from another document. We recommend overriding the footnote number only if it is necessary to ensure a cross-reference from another document is correct.</h:p>
      <h:p>Footnote numbers may also be necessary in footnotes to images, as it is not possible to put a footnote cross-reference in an image. This means that a rendering application would not be able to reliably calculate a suitable number and so the footnote itself must specify one.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Number" minOccurs="0" type="BasicStringStructure">
        <xsd:annotation>
          <xsd:documentation>Contains the footnote number if required. Not needed if automatic numbering is to be employed</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="FootnoteText" type="ParaBasicStructure">
        <xsd:annotation>
          <xsd:documentation>Contains the body text of the footnote</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonSubAttributes"/>
    <xsd:attribute name="id" use="required">
      <xsd:annotation>
        <xsd:documentation>A unique identifier in the format f00000</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:ID">
          <xsd:pattern value="f[0-9]{5}"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element Footnote / Number
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Contains the footnote number if required. Not needed if automatic numbering is to be employed
Diagram
DiagramschemaCommonElements_xsd.tmp#CharacterschemaDerivedTypes_xsd.tmp#BasicStringStructure
Properties
content complex
minOccurs 0
mixed true
Model
Children Character
Instance
<Number xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <Character Name="">{1,1}</Character>
</Number>
Source
<xsd:element name="Number" minOccurs="0" type="BasicStringStructure">
  <xsd:annotation>
    <xsd:documentation>Contains the footnote number if required. Not needed if automatic numbering is to be employed</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element Footnote / FootnoteText
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Contains the body text of the footnote
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaCommonElements_xsd.tmp#ParaschemaLists_xsd.tmp#OrderedListschemaLists_xsd.tmp#UnorderedListschemaLegislationBoxGroup_xsd.tmp#DecoratedGroupschemaLists_xsd.tmp#KeyListschemaFigure_xsd.tmp#FigureschemaLegislationForm_xsd.tmp#FormschemaTabular_xsd.tmp#TabularschemaBasicInline_xsd.tmp#TextschemaFormula_xsd.tmp#FormulaschemaLegislationStructureEU_xsd.tmp#Divisionerrors_xsd.tmp#Errorerrors_xsd.tmp#Warningerrors_xsd.tmp#ErrorsschemaLegislationTypes_xsd.tmp#ParaBasicschemaLegislationTypes_xsd.tmp#ParaBasicStructure
Properties
content complex
Model
Children DecoratedGroup, Division, Error, Figure, Form, Formula, KeyList, OrderedList, Para, Tabular, Text, UnorderedList, Warning
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:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

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
<FootnoteText AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation" xmlns:error="http://www.tso.co.uk/assets/namespace/error">
  <Para Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Para>
  <OrderedList AltVersionRefs="" xml:base="" Decoration="" id="" xml:lang="" xml:space="" Start="" Type="">{1,1}</OrderedList>
  <UnorderedList AltVersionRefs="" xml:base="" Class="" Decoration="" id="" xml:lang="" xml:space="">{1,1}</UnorderedList>
  <DecoratedGroup AltVersionRefs="" xml:base="" Decoration="" id="" xml:lang="" Orientation="" xml:space="">{1,1}</DecoratedGroup>
  <KeyList AltVersionRefs="" xml:base="" id="" xml:lang="" Separator="" xml:space="">{1,1}</KeyList>
  <Figure AltVersionRefs="" xml:base="" id="" ImageLayout="vertical" xml:lang="" Orientation="portrait" xml:space="">{1,1}</Figure>
  <Form AltVersionRefs="" xml:base="" id="" xml:lang="" Orientation="" xml:space="">{1,1}</Form>
  <Tabular AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" FragmentId="" id="" xml:lang="" Match="" NumberOfProvisions="" Orientation="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</Tabular>
  <Text Align="" AltVersionRefs="" xml:base="" Hanging="" id="" xml:lang="" xml:space="">{1,1}</Text>
  <Formula Align="" AltVersionRefs="" xml:base="" ID="" xml:lang="" xml:space="">{1,1}</Formula>
  <Division AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" NotesURI="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" shortId="" xml:space="" Status="" Type="" ValidDates="" Version="">{1,1}</Division>
  <error:Error FragmentId="" XPath="">{1,1}</error:Error>
  <error:Warning FragmentId="" XPath="">{1,1}</error:Warning>
</FootnoteText>
Source
<xsd:element name="FootnoteText" type="ParaBasicStructure">
  <xsd:annotation>
    <xsd:documentation>Contains the body text of the footnote</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element Footnotes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
The top level wrapper for footnotes (used in secondary legislation and some primary legislation).
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaFootnote_xsd.tmp#Footnote
Properties
content complex
Used by
Element Legislation
Model
Children Footnote
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:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

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
<Footnotes AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <Footnote AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,unbounded}</Footnote>
</Footnotes>
Source
<xsd:element name="Footnotes">
  <xsd:annotation>
    <xsd:documentation>The top level wrapper for footnotes (used in secondary legislation and some primary legislation).</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Footnote" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
  </xsd:complexType>
</xsd:element>
Attribute FootnoteRef / @Ref
Namespace No namespace
Annotations
The Ref attribute should point to an ID attribute on a footnote
Properties
use required
Used by
Element FootnoteRef
Source
<xsd:attribute name="Ref" type="xsd:string" use="required">
  <xsd:annotation>
    <xsd:documentation>The Ref attribute should point to an ID attribute on a footnote</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Footnote / @id
Namespace No namespace
Annotations
A unique identifier in the format f00000
Properties
use required
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (f[0-9]{5})
Used by
Element Footnote
Source
<xsd:attribute name="id" use="required">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format f00000</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:ID">
      <xsd:pattern value="f[0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>