Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Model
Properties
Source
Used by
Included schema schemaVersion.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Describes alternate versions of material
Properties
attribute form default unqualified
element form default qualified
version 2.4
Element Include
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Includes another fragment at this location.
Diagram
DiagramschemaVersion_xsd.tmp#Include_FragmentRef
Properties
content complex
Used by
Attributes
QName Type Use
FragmentRef xsd:NMTOKEN optional
Source
<xsd:element name="Include">
  <xsd:annotation>
    <xsd:documentation>Includes another fragment at this location.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="FragmentRef" type="xsd:NMTOKEN"/>
  </xsd:complexType>
</xsd:element>
Element Versions
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Contains alternate versions of parts of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaVersion_xsd.tmp#Version
Properties
content complex
Used by
Element Legislation
Model
Children Version
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
<Versions AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <Version AltVersionRefs="" xml:base="" Class="" Description="" id="" xml:lang="" Language="" RestrictOutput="false" xml:space="">{1,unbounded}</Version>
</Versions>
Source
<xsd:element name="Versions">
  <xsd:annotation>
    <xsd:documentation>Contains alternate versions of parts of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Version" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
  </xsd:complexType>
</xsd:element>
Element Version
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

Contains an alternate version of a part of the document.

Versions commonly serve two purposes in schema documents:

  • They hold an alternate image version of an equation marked up in MathML, for clients that can render images but not MathML;
  • They hold concurrent geographical extent versions of provisions—that is, where there are different versions of part of the document for different geographical extents.

A version may also encode the content of a part of the document in a different medium, such as audio or Braille, or a different language, such as Welsh or French.

Diagram
DiagramschemaVersion_xsd.tmp#Version_DescriptionschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributesschemaVersion_xsd.tmp#Version_idschemaVersion_xsd.tmp#Version_ClassschemaVersion_xsd.tmp#Version_LanguageschemaVersion_xsd.tmp#Version_RestrictOutput
Properties
content complex
Used by
Element Versions
Model
ANY element from ANY namespace
Attributes
QName Type Default 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
Class restriction of xsd:string optional
The medium of the content of the version. If this attribute is absent, a processing application should treat the content as text
Description xsd:string optional
Describes the content of the version
Language restriction of xsd:string optional
The language of the content of the version. If this attribute is absent, a processing application should treat the content as being in the language of the main document
RestrictOutput xsd:boolean false optional
Determines whether the version should not be output by the processing application by default
id restriction of xsd:ID optional
A unique identifier in the format v00000, e.g. v00010, v01353
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="Version">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Contains an alternate version of a part of the document.</h:p>
      <h:p>Versions commonly serve two purposes in schema documents:</h:p>
      <h:ul>
        <h:li>They hold an alternate image version of an equation marked up in MathML, for clients that can render images but not MathML;</h:li>
        <h:li>They hold concurrent geographical extent versions of provisions—that is, where there are different versions of part of the document for different geographical extents.</h:li>
      </h:ul>
      <h:p>A version may also encode the content of a part of the document in a different medium, such as audio or Braille, or a different language, such as Welsh or French.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:any processContents="lax" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="Description" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation>Describes the content of the version</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attributeGroup ref="CommonSubAttributes"/>
    <xsd:attribute name="id">
      <xsd:annotation>
        <xsd:documentation>A unique identifier in the format v00000, e.g. v00010, v01353</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:ID">
          <xsd:pattern value="v[0-9]{5}"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="Class">
      <xsd:annotation>
        <xsd:documentation>The medium of the content of the version. If this attribute is absent, a processing application should treat the content as text</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="text"/>
          <xsd:enumeration value="audio"/>
          <xsd:enumeration value="braille"/>
          <xsd:enumeration value="graphic"/>
          <xsd:enumeration value="video"/>
          <xsd:enumeration value="other"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="Language">
      <xsd:annotation>
        <xsd:documentation>The language of the content of the version. If this attribute is absent, a processing application should treat the content as being in the language of the main document</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="Arabic"/>
          <xsd:enumeration value="Bengali"/>
          <xsd:enumeration value="Chinese"/>
          <xsd:enumeration value="Danish"/>
          <xsd:enumeration value="Dutch"/>
          <xsd:enumeration value="English"/>
          <xsd:enumeration value="Finnish"/>
          <xsd:enumeration value="French"/>
          <xsd:enumeration value="Gaelic"/>
          <xsd:enumeration value="German"/>
          <xsd:enumeration value="Greek"/>
          <xsd:enumeration value="Hindi"/>
          <xsd:enumeration value="Hungarian"/>
          <xsd:enumeration value="Icelandic"/>
          <xsd:enumeration value="Italian"/>
          <xsd:enumeration value="Latin"/>
          <xsd:enumeration value="Latvian"/>
          <xsd:enumeration value="Lithuanian"/>
          <xsd:enumeration value="Norwegian"/>
          <xsd:enumeration value="Polish"/>
          <xsd:enumeration value="Russian"/>
          <xsd:enumeration value="Slovenian"/>
          <xsd:enumeration value="Spanish"/>
          <xsd:enumeration value="Urdu"/>
          <xsd:enumeration value="Welsh"/>
          <xsd:enumeration value="notApplicable"/>
          <xsd:enumeration value="other"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="RestrictOutput" type="xsd:boolean" default="false">
      <xsd:annotation>
        <xsd:documentation>Determines whether the version should not be output by the processing application by default</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Attribute Include / @FragmentRef
Namespace No namespace
Properties
content simple
Used by
Element Include
Source
<xsd:attribute name="FragmentRef" type="xsd:NMTOKEN"/>
Attribute Version / @Description
Namespace No namespace
Annotations
Describes the content of the version
Properties
content simple
Used by
Element Version
Source
<xsd:attribute name="Description" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Describes the content of the version</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Version / @id
Namespace No namespace
Annotations
A unique identifier in the format v00000, e.g. v00010, v01353
Properties
content simple
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (v[0-9]{5})
Used by
Element Version
Source
<xsd:attribute name="id">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format v00000, e.g. v00010, v01353</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:ID">
      <xsd:pattern value="v[0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Version / @Class
Namespace No namespace
Annotations
The medium of the content of the version. If this attribute is absent, a processing application should treat the content as text
Properties
content simple
Facets
enumeration text
enumeration audio
enumeration braille
enumeration graphic
enumeration video
enumeration other
Used by
Element Version
Source
<xsd:attribute name="Class">
  <xsd:annotation>
    <xsd:documentation>The medium of the content of the version. If this attribute is absent, a processing application should treat the content as text</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="text"/>
      <xsd:enumeration value="audio"/>
      <xsd:enumeration value="braille"/>
      <xsd:enumeration value="graphic"/>
      <xsd:enumeration value="video"/>
      <xsd:enumeration value="other"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Version / @Language
Namespace No namespace
Annotations
The language of the content of the version. If this attribute is absent, a processing application should treat the content as being in the language of the main document
Properties
content simple
Facets
enumeration Arabic
enumeration Bengali
enumeration Chinese
enumeration Danish
enumeration Dutch
enumeration English
enumeration Finnish
enumeration French
enumeration Gaelic
enumeration German
enumeration Greek
enumeration Hindi
enumeration Hungarian
enumeration Icelandic
enumeration Italian
enumeration Latin
enumeration Latvian
enumeration Lithuanian
enumeration Norwegian
enumeration Polish
enumeration Russian
enumeration Slovenian
enumeration Spanish
enumeration Urdu
enumeration Welsh
enumeration notApplicable
enumeration other
Used by
Element Version
Source
<xsd:attribute name="Language">
  <xsd:annotation>
    <xsd:documentation>The language of the content of the version. If this attribute is absent, a processing application should treat the content as being in the language of the main document</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Arabic"/>
      <xsd:enumeration value="Bengali"/>
      <xsd:enumeration value="Chinese"/>
      <xsd:enumeration value="Danish"/>
      <xsd:enumeration value="Dutch"/>
      <xsd:enumeration value="English"/>
      <xsd:enumeration value="Finnish"/>
      <xsd:enumeration value="French"/>
      <xsd:enumeration value="Gaelic"/>
      <xsd:enumeration value="German"/>
      <xsd:enumeration value="Greek"/>
      <xsd:enumeration value="Hindi"/>
      <xsd:enumeration value="Hungarian"/>
      <xsd:enumeration value="Icelandic"/>
      <xsd:enumeration value="Italian"/>
      <xsd:enumeration value="Latin"/>
      <xsd:enumeration value="Latvian"/>
      <xsd:enumeration value="Lithuanian"/>
      <xsd:enumeration value="Norwegian"/>
      <xsd:enumeration value="Polish"/>
      <xsd:enumeration value="Russian"/>
      <xsd:enumeration value="Slovenian"/>
      <xsd:enumeration value="Spanish"/>
      <xsd:enumeration value="Urdu"/>
      <xsd:enumeration value="Welsh"/>
      <xsd:enumeration value="notApplicable"/>
      <xsd:enumeration value="other"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Version / @RestrictOutput
Namespace No namespace
Annotations
Determines whether the version should not be output by the processing application by default
Properties
default false
Used by
Element Version
Source
<xsd:attribute name="RestrictOutput" type="xsd:boolean" default="false">
  <xsd:annotation>
    <xsd:documentation>Determines whether the version should not be output by the processing application by default</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>