This refers to one or more IDs, that may not exist in the currently open file but
is necessary when editing a fragment of a CLML document, which may refer to elements
in a different fragment. The AltVersionRefs attribute can use this type to refer to
alternative versions of the content in the current element, but when an editor checks
out a fragment containing the element, it may also not contain the alternative versions.
It also allow for valid data where a fragment is amended resulting in an equation
with an orphaned AltVersionRefs. The IDREFS type is unsuitable for these purposes
as it requires the value to refer to IDs that exist within the current document
<xsd:simpleType name="RefsLinkType"><xsd:annotation><xsd:documentation>This refers to one or more IDs, that may not exist in the currently open file but is necessary when editing a fragment of a CLML document, which may refer to elements in a different fragment. The AltVersionRefs attribute can use this type to refer to alternative versions of the content in the current element, but when an editor checks out a fragment containing the element, it may also not contain the alternative versions. It also allow for valid data where a fragment is amended resulting in an equation with an orphaned AltVersionRefs. The IDREFS type is unsuitable for these purposes as it requires the value to refer to IDs that exist within the current document</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:NMTOKENS"/></xsd:simpleType>
<xsd:attribute name="id"><xsd:annotation><xsd:documentation xmlns:h="http://www.w3.org/1999/xhtml"><h:p>A unique identifier for the element.</h:p><h:p>The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.</h:p><h:p>Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.</h:p></xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:NCName"><xsd:pattern value="[a-z][0-9]{5}"/></xsd:restriction></xsd:simpleType></xsd:attribute>
<xsd:attribute name="AltVersionRefs" type="RefsLinkType"><xsd:annotation><xsd:documentation>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</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="Format" use="required"><xsd:annotation><xsd:documentation>Defines the type of quotes to be used when formatting block or inline amendments or extracts.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="default"/><xsd:enumeration value="double"/><xsd:enumeration value="single"/><xsd:enumeration value="none"/></xsd:restriction></xsd:simpleType></xsd:attribute>
<xsd:attribute name="FragmentId" type="xsd:NMTOKEN"><xsd:annotation><xsd:documentation>The identifier for the fragment used in the old SLD (Statute Law Database) system</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="Version" type="xsd:integer"><xsd:annotation><xsd:documentation>The version of the provision in the old SLD (Statute Law Database) system</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="RestrictExtent" type="ExtentType"><xsd:annotation><xsd:documentation>The geographic extent to which the provision applies</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="RestrictStartDate" type="xsd:date"><xsd:annotation><xsd:documentation>The date of the current version of the provision and the amendments applied to it</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="RestrictEndDate" type="xsd:date"><xsd:annotation><xsd:documentation>The date of the next version of the current fragment</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="Status"><xsd:annotation><xsd:documentation>The status of the provision when not in force, i.e. prospective, repealed</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:token"><xsd:enumeration value="Prospective"/><xsd:enumeration value="Dead"/><xsd:enumeration value="Discarded"/><xsd:enumeration value="Repealed"/></xsd:restriction></xsd:simpleType></xsd:attribute>
<xsd:attribute name="ConfersPower" type="xsd:boolean"><xsd:annotation><xsd:documentation>A Boolean value to indicate whether the provision includes confers power to make secondary legislation</xsd:documentation></xsd:annotation></xsd:attribute>
A Boolean value to indicate whether the provision includes blanket amendments, ie
general amendments to legislation as a whole rather than a specific enactment
<xsd:attribute name="BlanketAmendment" type="xsd:boolean"><xsd:annotation><xsd:documentation>A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment</xsd:documentation></xsd:annotation></xsd:attribute>
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
<xsd:attribute name="Concurrent" type="xsd:boolean"><xsd:annotation><xsd:documentation>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</xsd:documentation></xsd:annotation></xsd:attribute>
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
<xsd:attribute name="Match" type="xsd:boolean"><xsd:annotation><xsd:documentation>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</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="AltDates" type="DateOrProspectiveListType"><xsd:annotation><xsd:documentation>A space separated sequence of dates where amendments have been applied to the provision</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="ValidDates" type="DateOrProspectiveListType"><xsd:annotation><xsd:documentation>A space separated sequence of valid dates where the provision is in force</xsd:documentation></xsd:annotation></xsd:attribute>
<xsd:attribute name="NumberOfProvisions" type="xsd:integer"><xsd:annotation><xsd:documentation>Count of the number of child provisions within the section of content (added automatically when published)</xsd:documentation></xsd:annotation></xsd:attribute>
Defines whether section numbering (top level) should be formatted in a way other then
the default. This is basically for legacy data. The use of a default attribute has
been considered and kept due to the fact that the attribute is only to be used for
legacy data and it would be a hinderance to have to consider its use going forward.
It is expected that this attribute could be changed to a fixed value of default if
required
<xsd:attribute name="NumberFormat" default="default"><xsd:annotation><xsd:documentation>Defines whether section numbering (top level) should be formatted in a way other then the default. This is basically for legacy data. The use of a default attribute has been considered and kept due to the fact that the attribute is only to be used for legacy data and it would be a hinderance to have to consider its use going forward. It is expected that this attribute could be changed to a fixed value of default if required</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="default"/><xsd:enumeration value="emphasis"/><xsd:enumeration value="strong"/></xsd:restriction></xsd:simpleType></xsd:attribute>
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.
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:attributeGroup name="CommonAttributes"><xsd:attribute name="id"><xsd:annotation><xsd:documentation xmlns:h="http://www.w3.org/1999/xhtml"><h:p>A unique identifier for the element.</h:p><h:p>The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.</h:p><h:p>Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.</h:p></xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:NCName"><xsd:pattern value="[a-z][0-9]{5}"/></xsd:restriction></xsd:simpleType></xsd:attribute><xsd:attributeGroup ref="CommonSubAttributes"/></xsd:attributeGroup>
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.
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.
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
Source
<xsd:attributeGroup name="VersionRefAttributes"><xsd:attribute name="AltVersionRefs" type="RefsLinkType"><xsd:annotation><xsd:documentation>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</xsd:documentation></xsd:annotation></xsd:attribute></xsd:attributeGroup>
The standard XML attributes xml:lang, xml:space and xml:base are included on each
element. Their use as defined by the W3 specification should be respected.
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.
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:attributeGroup name="XMLattributes"><xsd:annotation><xsd:documentation>The standard XML attributes xml:lang, xml:space and xml:base are included on each element. Their use as defined by the W3 specification should be respected.</xsd:documentation></xsd:annotation><xsd:attribute ref="xml:lang"/><xsd:attribute ref="xml:space"/><xsd:attribute ref="xml:base"/></xsd:attributeGroup>
Defines the type of quotes to be used when formatting block or inline amendments or
extracts.
Source
<xsd:attributeGroup name="QuotesAttributes"><xsd:attribute name="Format" use="required"><xsd:annotation><xsd:documentation>Defines the type of quotes to be used when formatting block or inline amendments or extracts.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="default"/><xsd:enumeration value="double"/><xsd:enumeration value="single"/><xsd:enumeration value="none"/></xsd:restriction></xsd:simpleType></xsd:attribute></xsd:attributeGroup>
A Boolean value to indicate whether the provision includes blanket amendments, ie
general amendments to legislation as a whole rather than a specific enactment
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
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
The version of the provision in the old SLD (Statute Law Database) system
Source
<xsd:attributeGroup name="FragmentAttributes"><xsd:attribute name="FragmentId" type="xsd:NMTOKEN"><xsd:annotation><xsd:documentation>The identifier for the fragment used in the old SLD (Statute Law Database) system</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="Version" type="xsd:integer"><xsd:annotation><xsd:documentation>The version of the provision in the old SLD (Statute Law Database) system</xsd:documentation></xsd:annotation></xsd:attribute><!--#154553309 <xsd:attribute name="RestrictExtent" type="xsd:token"/>--><xsd:attribute name="RestrictExtent" type="ExtentType"><xsd:annotation><xsd:documentation>The geographic extent to which the provision applies</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="RestrictStartDate" type="xsd:date"><xsd:annotation><xsd:documentation>The date of the current version of the provision and the amendments applied to it</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="RestrictEndDate" type="xsd:date"><xsd:annotation><xsd:documentation>The date of the next version of the current fragment</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="Status"><xsd:annotation><xsd:documentation>The status of the provision when not in force, i.e. prospective, repealed</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:token"><xsd:enumeration value="Prospective"/><xsd:enumeration value="Dead"/><xsd:enumeration value="Discarded"/><xsd:enumeration value="Repealed"/></xsd:restriction></xsd:simpleType></xsd:attribute><!-- removed default values for issue #171599021
<xsd:attribute default="false" name="ConfersPower" type="xsd:boolean"/>
<xsd:attribute default="false" name="BlanketAmendment" type="xsd:boolean"/>
<xsd:attribute default="false" name="Concurrent" type="xsd:boolean"/>
<xsd:attribute default="true" name="Match" type="xsd:boolean"/> --><xsd:attribute name="ConfersPower" type="xsd:boolean"><xsd:annotation><xsd:documentation>A Boolean value to indicate whether the provision includes confers power to make secondary legislation</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="BlanketAmendment" type="xsd:boolean"><xsd:annotation><xsd:documentation>A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="Concurrent" type="xsd:boolean"><xsd:annotation><xsd:documentation>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</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="Match" type="xsd:boolean"><xsd:annotation><xsd:documentation>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</xsd:documentation></xsd:annotation></xsd:attribute><!-- #172192332 Tighten the validation of AltDates and ValidDates to only allow a list of dates and the word "prospective"
e.g.
2006-01-01
2006-01-01 2010-01-01
prospective
2006-01-01 2010-01-01 prospective
MAYBE empty string
--><xsd:attribute name="AltDates" type="DateOrProspectiveListType"><xsd:annotation><xsd:documentation>A space separated sequence of dates where amendments have been applied to the provision</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attribute name="ValidDates" type="DateOrProspectiveListType"><xsd:annotation><xsd:documentation>A space separated sequence of valid dates where the provision is in force</xsd:documentation></xsd:annotation></xsd:attribute><xsd:attributeGroup ref="ProvisionCountAttributes"/></xsd:attributeGroup>
Count of the number of child provisions within the section of content (added automatically
when published)
Source
<xsd:attributeGroup name="ProvisionCountAttributes"><xsd:attribute name="NumberOfProvisions" type="xsd:integer"><xsd:annotation><xsd:documentation>Count of the number of child provisions within the section of content (added automatically when published)</xsd:documentation></xsd:annotation></xsd:attribute></xsd:attributeGroup>
Attribute Group StructureNumberFormattingAttributes
Defines whether section numbering (top level) should be formatted in a way other then
the default. This is basically for legacy data. The use of a default attribute has
been considered and kept due to the fact that the attribute is only to be used for
legacy data and it would be a hinderance to have to consider its use going forward.
It is expected that this attribute could be changed to a fixed value of default if
required
Source
<xsd:attributeGroup name="StructureNumberFormattingAttributes"><xsd:attribute name="NumberFormat" default="default"><xsd:annotation><xsd:documentation>Defines whether section numbering (top level) should be formatted in a way other then the default. This is basically for legacy data. The use of a default attribute has been considered and kept due to the fact that the attribute is only to be used for legacy data and it would be a hinderance to have to consider its use going forward. It is expected that this attribute could be changed to a fixed value of default if required</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="default"/><xsd:enumeration value="emphasis"/><xsd:enumeration value="strong"/></xsd:restriction></xsd:simpleType></xsd:attribute></xsd:attributeGroup>