Showing:

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

Describes a reference (link) to a margin note.

The Ref attribute should point to an ID attribute on a marginnote element.

Diagram
DiagramschemaMarginnote_xsd.tmp#MarginNoteRef_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
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="MarginNoteRef">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Describes a reference (link) to a margin note.</h:p>
      <h:p>The Ref attribute should point to an ID attribute on a marginnote element.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Ref" type="xsd:string" use="required"/>
    <xsd:attributeGroup ref="CommonAttributes"/>
  </xsd:complexType>
</xsd:element>
Element MarginNotes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

The top level wrapper for margin notes (or sidenotes).

Margin notes were only used in old primary legislation (pre-2001) where the layout of the documents was different to that currently used. This also entailed a difference in structure from modern primary legislation where the margin notes are part of the text.

Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaMarginnote_xsd.tmp#MarginNote
Properties
content complex
Used by
Element Legislation
Model
Children MarginNote
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
<MarginNotes AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <MarginNote AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,unbounded}</MarginNote>
</MarginNotes>
Source
<xsd:element name="MarginNotes">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>The top level wrapper for margin notes (or sidenotes).</h:p>
      <h:p>Margin notes were only used in old primary legislation (pre-2001) where the layout of the documents was different to that currently used. This also entailed a difference in structure from modern primary legislation where the margin notes are part of the text.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="MarginNote" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
  </xsd:complexType>
</xsd:element>
Element MarginNote
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

Describes a margin note (sidenote) - a general container for block level elements.

The anchor point for the margin note is somewhat arbitrary as there is nothing in the printed copy to reference the note. It would be down to a rendering engine to format the margin note as closely as possible to the location of the reference.

Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributesschemaMarginnote_xsd.tmp#MarginNote_idschemaCommonElements_xsd.tmp#ParaschemaLegislationTypes_xsd.tmp#ParaRestricted
Properties
content complex
Used by
Element MarginNotes
Model
Children 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 required
A unique identifier in the format m00000
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
<MarginNote 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>
</MarginNote>
Source
<xsd:element name="MarginNote">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Describes a margin note (sidenote) - a general container for block level elements.</h:p>
      <h:p>The anchor point for the margin note is somewhat arbitrary as there is nothing in the printed copy to reference the note. It would be down to a rendering engine to format the margin note as closely as possible to the location of the reference.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:group ref="ParaRestricted"/>
    <xsd:attributeGroup ref="CommonSubAttributes"/>
    <xsd:attribute name="id" use="required">
      <xsd:annotation>
        <xsd:documentation>A unique identifier in the format m00000</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:ID">
          <xsd:pattern value="m[0-9]{5}"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Attribute MarginNoteRef / @Ref
Namespace No namespace
Properties
use required
Used by
Element MarginNoteRef
Source
<xsd:attribute name="Ref" type="xsd:string" use="required"/>
Attribute ParaRestricted / @id
Namespace No namespace
Annotations
A unique identifier in the format m00000
Properties
use required
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (m[0-9]{5})
Used by
Source
<xsd:attribute name="id" use="required">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format m00000</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:ID">
      <xsd:pattern value="m[0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute MarginNote / @id
Namespace No namespace
Annotations
A unique identifier in the format m00000
Properties
use required
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (m[0-9]{5})
Source
<xsd:attribute name="id" use="required">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format m00000</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:ID">
      <xsd:pattern value="m[0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>