Schema defining atom elements and structures that may be used in Legislation
Properties
attribute form default
unqualified
element form default
qualified
version
2.2
Element atom:link
Namespace
http://www.w3.org/2005/Atom
Annotations
Describes links to parts of the current legislation document or to alternative renditions
of that content (auto-generated in final delivered XML) in Atom format.
<xs:element name="link"><xs:annotation><xs:documentation>Describes links to parts of the current legislation document or to alternative renditions of that content (auto-generated in final delivered XML) in Atom format.</xs:documentation></xs:annotation><xs:complexType><!-- Colin Mackenzie 06/03/2020
MSXML4 thinks this is invalid as derived type and base type must have the same content typeMSXML4 thinks this is invalid as derived type and base type must have the same content type
<xs:complexContent>
<xs:extension base="atom:undefinedContent">
<xs:attributeGroup ref="atom:atomCommonAttributes"/>
<xs:attribute name="href" use="required"/>
<xs:attribute name="rel"/>
<xs:attribute name="type" type="atom:atomMediaType"/>
<xs:attribute name="hreflang" type="atom:atomLanguageTag"/>
<xs:attribute name="title"/>
<xs:attribute name="length"/>
</xs:extension>
</xs:complexContent>
But we do not put content inside atom links so I could refer directly to content model instead
or simply not all any content (as done below) --><!--<xs:group minOccurs="0" maxOccurs="unbounded" ref="atom:anyForeignElement"/>--><xs:attributeGroup ref="atom:atomCommonAttributes"/><xs:attribute name="href" use="required"/><xs:attribute name="rel"/><xs:attribute name="type" type="atom:atomMediaType"/><xs:attribute name="hreflang" type="atom:atomLanguageTag"/><xs:attribute name="title"/><xs:attribute name="length"/></xs:complexType></xs:element>
<xs:element name="category"><xs:complexType><!-- Colin Mackenzie 06/03/2020
MSXML4 thinks this is invalid as derived type and base type must have the same content type
<xs:complexContent>
<xs:extension base="atom:undefinedContent">
<xs:attributeGroup ref="atom:atomCommonAttributes"/>
<xs:attribute name="term" use="required"/>
<xs:attribute name="scheme"/>
<xs:attribute name="label"/>
</xs:extension>
</xs:complexContent>
But we do not EVER put content in atom values and we do not even use or refer to category
so I refer directly to content model instead --><!--<xs:group minOccurs="0" maxOccurs="unbounded" ref="atom:anyForeignElement"/>--><xs:attributeGroup ref="atom:atomCommonAttributes"/><xs:attribute name="term" use="required"/><xs:attribute name="scheme"/><xs:attribute name="label"/></xs:complexType></xs:element>
ANY element from ANY namespace OTHER than 'http://www.w3.org/2005/Atom' | ANY element from LOCAL namespace 'No Namespace' | ANY element from ANY namespace OTHER than 'http://www.w3.org/2005/Atom' | ANY element from LOCAL namespace 'No Namespace'
<xs:group name="anyForeignElement"><!-- Colin Mackenzie 06/03/2020
MSXML4 thinks this is invalid as derived type and base type must have the same content typeColin: we need a deterministic version to stop MSXML form erroring
Note: we no longer use this model anyway as we need empty elements for atom:link
<xs:choice>
<xs:any namespace="##other" processContents="lax"/>
<xs:any namespace="##local" processContents="lax"/>
</xs:choice> --><xs:sequence><xs:any namespace="##any" processContents="lax"/></xs:sequence></xs:group>