Showing:

Annotations
Attributes
Diagrams
Instances
Model
Properties
Source
Used by
Included schema schemaIncludedDocument.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Defines included documents
Properties
attribute form default unqualified
element form default qualified
version 2.0
Element IncludedDocument
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

Included documents are documents not coded to the main schema. They are referenced via the Resources section.

Inline content gives the opportunity to provide some explanatory text as to the content.

An included document references a resource and it can, therefore, be anything that can be held in a Resource element. For forms the recommendation would be to use Scalable Vector Graphics (SVG) to mark up.

Diagram
DiagramschemaIncludedDocument_xsd.tmp#IncludedDocument_ResourceRefschemaLegislationCommonAttributes_xsd.tmp#CommonAttributeserrors_xsd.tmp#Errorerrors_xsd.tmp#Warningerrors_xsd.tmp#ErrorsschemaCommonElements_xsd.tmp#CharacterschemaBasicInline_xsd.tmp#SpanschemaLegislationAmendments_xsd.tmp#InlineAmendmentschemaExtract_xsd.tmp#InlineExtractschemaCommentary_xsd.tmp#CommentaryRefschemaFootnote_xsd.tmp#FootnoteRefschemaMarginnote_xsd.tmp#MarginNoteRefschemaLinks_xsd.tmp#InternalLinkschemaLinks_xsd.tmp#ExternalLinkschemaCitations_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_CitationschemaCitations_xsd.tmp#CitationSubRefschemaCitations_xsd.tmp#CitationListRefmath_xsd.tmp#mathschemaFigure_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_ImageschemaAcronymsAbbreviations_xsd.tmp#AcronymschemaAcronymsAbbreviations_xsd.tmp#AbbreviationschemaAcronymsAbbreviations_xsd.tmp#TermschemaChanges_xsd.tmp#AdditionschemaChanges_xsd.tmp#RepealschemaChanges_xsd.tmp#SubstitutionschemaLegislationSemantics_xsd.tmp#DefinitionschemaLegislationSemantics_xsd.tmp#ProvisoschemaLegislationTypes_xsd.tmp#InlineBasic
Properties
content complex
mixed true
Used by
Model
Children Abbreviation, Acronym, Addition, Character, Citation, CitationListRef, CitationSubRef, CommentaryRef, Definition, Error, ExternalLink, FootnoteRef, Image, InlineAmendment, InlineExtract, InternalLink, MarginNoteRef, Proviso, Repeal, Span, Substitution, Term, Warning, math
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
ResourceRef 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.
Instance
<IncludedDocument AltVersionRefs="" xml:base="" id="" xml:lang="" ResourceRef="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation" xmlns:error="http://www.tso.co.uk/assets/namespace/error" xmlns:mathml="http://www.w3.org/1998/Math/MathML">
  <error:Error FragmentId="" XPath="">{1,1}</error:Error>
  <error:Warning FragmentId="" XPath="">{1,1}</error:Warning>
  <Character Name="">{1,1}</Character>
  <Span AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Span>
  <InlineAmendment AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</InlineAmendment>
  <InlineExtract AltVersionRefs="" xml:base="" Format="" id="" xml:lang="" SourceClass="" SourceSubClass="" xml:space="">{1,1}</InlineExtract>
  <CommentaryRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</CommentaryRef>
  <FootnoteRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</FootnoteRef>
  <MarginNoteRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</MarginNoteRef>
  <InternalLink AltVersionRefs="" xml:base="" EndRef="" id="" xml:lang="" Ref="" xml:space="">{1,1}</InternalLink>
  <ExternalLink AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" Title="" URI="">{1,1}</ExternalLink>
  <Citation AlternativeNumber="" AltVersionRefs="" xml:base="" Class="" CommencementNumber="" CommentaryRef="" Date="" DOI="" EndDate="" EndSectionRef="" id="" xml:lang="" LegalNumber="" Locator="" NorthernIrishNumber="" Number="" Prospective="false" ScottishNumber="" SectionRef="" xml:space="" StartDate="" StartSectionRef="" Title="" URI="" WelshNumber="" Year="">{1,1}</Citation>
  <CitationSubRef AltVersionRefs="" xml:base="" CitationRef="" EndSectionRef="" id="" xml:lang="" Operative="false" SectionRef="" xml:space="" StartSectionRef="" Type="" UpTo="" URI="">{1,1}</CitationSubRef>
  <CitationListRef AltVersionRefs="" xml:base="" xml:lang="" Ref="" xml:space="">{1,1}</CitationListRef>
  <mathml:math altimg="" alttext="" baseline="" class="" display="inline" height="" xlink:href="" id="" macros="" name="" overflow="scroll" style="" type="" width="" xref="">{1,1}</mathml:math>
  <Image AltVersionRefs="" xml:base="" Description="" Height="auto" id="" xml:lang="" ResourceRef="" xml:space="" Width="auto">{1,1}</Image>
  <Acronym AltVersionRefs="" xml:base="" Expansion="" id="" xml:lang="" xml:space="">{1,1}</Acronym>
  <Abbreviation AltVersionRefs="" xml:base="" Expansion="" id="" xml:lang="" xml:space="">{1,1}</Abbreviation>
  <Term AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Term>
  <Addition AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" xml:space="" Status="">{1,1}</Addition>
  <Repeal AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" RetainText="" xml:space="" Status="" SubstitutionRef="">{1,1}</Repeal>
  <Substitution AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" xml:space="" Status="">{1,1}</Substitution>
  <Definition Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" Mark="" xml:space="" TermRef="">{1,1}</Definition>
  <Proviso Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" Mark="" xml:space="">{1,1}</Proviso>
</IncludedDocument>
Source
<xsd:element name="IncludedDocument">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Included documents are documents not coded to the main schema. They are referenced via the Resources section.</h:p>
      <h:p>Inline content gives the opportunity to provide some explanatory text as to the content.</h:p>
      <h:p>An included document references a resource and it can, therefore, be anything that can be held in a Resource element. For forms the recommendation would be to use Scalable Vector Graphics (SVG) to mark up.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType mixed="true">
    <xsd:sequence minOccurs="0">
      <xsd:group ref="InlineBasic"/>
    </xsd:sequence>
    <xsd:attribute name="ResourceRef" type="xsd:string" use="required"/>
    <xsd:attributeGroup ref="CommonAttributes"/>
  </xsd:complexType>
</xsd:element>
Attribute IncludedDocument / @ResourceRef
Namespace No namespace
Properties
use required
Used by
Source
<xsd:attribute name="ResourceRef" type="xsd:string" use="required"/>