Diff:Oct 2006 & Jun 2006 — Site
Personal tools

Skip to content. | Skip to navigation

 
You are here: Home Schema Releases Diff:Oct 2006 & Jun 2006

Diff:Oct 2006 & Jun 2006

Diff of akomantoso10.xsd r97 - akomantoso - Google Code
Many major modifications have been brought into this release. Metadata are now completely reorganized, introducing the organization in four levels and a section on amendment analysis. Within document, new elements have been added to handle strange hierarchies, line and page numbering, and multiple and range-based modifications and references. In detail:
  • New block elements called list, titled block (tblock) and foreign are added.
  • New inline elements eol and eop for managing end-of-line and end-of-page situations when they are relevant
  • All IDREF attributes are now ANYURI (thus allowing for references to be stored outside of the document). A reference to item foobar used to be idref=”foobar”, needs now to be href=”#foobar”.
  • The attribute numbering has been removed because of doubts of its real usefulness. Can be reinstated if found needed.
  • Two new elements appear close to num and title at the beginning of hierarchical elements, subtitle and sidenote. It’s left to markers to decide when to use either one.
  • The content model of all metadata elements has been simplified removing the attributes for style and enactment that made little sense for them.
  • Element item has completely been reformulated. Its former role as plain member of a hierarchy of subdivision elements within maincontent has been replaced by item list, which contains any of a number of item elements. Use list instead of item, and place item within list elements.
  • Elements ref and mod have been enriched with derivative elements mref (multiple references), rref (range of references), mmod (multiple modifications) and rmod (range of modifications) to manage references and modifications that explicitly list in brief multiple different locations of destination document (e.g., “The Provisions of sections 1(1) and (2), 24, 25, 29(2), 30, 31, 43, 55, 56, 57, 58, 60, 61, 62, 63, 67, 80, 84, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108 and 115 of law n° 92-10 of 17 september 1992 to lay down the conditions governing the vacancy of and election to the Presidency of the Republic are amended and supplemented” and “The existing sections 34 to 54 of the Principal Act shall be amended by renumbering them as sections 33 to 53 respectively”).
  • New inline elements ins, del and omissis are included for managing explicit newly inserted text, deleted text or omitted text in presentation of norms.
  • All HTML table elements now have required id. HTML li element has now optional value.
  • The section meta has been completely rewritten and has new a completely different structure and philosophy. See section 7 for details on how to use it. The structure splits open the old descriptor section, which now is separated into identification, publication and classification, and introduces the wholly new analysis section.
  • Identification is a new structure that contains information about the URIs relative to the four levels of organization of metadata, Work, Expression, Manifestation and Item. For each of these levels a number of metadata elements are required: author, date, URI, components (except for Work) and preservation.
  • Analysis is a container of provisions about the actual content of the norm. Currently it contains only modification provisions, that are used to classify and manage amendment acts and documents. A total of 6 types of amendments have been added, for a total of 32 subcases, and a collection of 10 parameters to describe them.

1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>




2 <xsd:schema targetNamespace="http://www.akomantoso.org/1.0" xmlns="http://www.akomantoso.org/1.0" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 2 <xsd:schema





3 targetNamespace="http://www.akomantoso.org/1.0"





4 xmlns="http://www.akomantoso.org/1.0"





5 elementFormDefault="qualified"





6 xmlns:xsd="http://www.w3.org/2001/XMLSchema"





7 >



3
8



4
9



5
10



6 <xsd:annotation> 11 <xsd:annotation>



7 <xsd:documentation> 12 <xsd:documentation>



8 ===================================================================== 13 =====================================================================



9 Akoma Ntoso main schema 14 Akoma Ntoso main schema



10
15



11
16




12 Release 25/06/2006 17 Release 24/10/2006



13 Fabio Vitali - University of Bologna 18 technical supervision Fabio Vitali - University of Bologna





19 legal domain supervision Monica Palmirani - University of Bologna



14
20



15 The present schema uses systematically XML design patterns as 21 The present schema uses systematically XML design patterns as



16 described in http://www.xmlpatterns.com/ 22 described in http://www.xmlpatterns.com/



17 A few of them are explicitly mentioned, when their use or approach 23 A few of them are explicitly mentioned, when their use or approach



18 was not felt clear or natural enough. Others are just used without 24 was not felt clear or natural enough. Others are just used without



19 mentions. 25 mentions.



20 ===================================================================== 26 =====================================================================



21 </xsd:documentation> 27 </xsd:documentation>



22 </xsd:annotation> 28 </xsd:annotation>



23
29



24 <xsd:annotation> 30 <xsd:annotation>



25 <xsd:documentation> 31 <xsd:documentation>



26 ===================================================================== 32 =====================================================================



27
33



28 Main element groups 34 Main element groups



29
35



30 ===================================================================== 36 =====================================================================



31 </xsd:documentation> 37 </xsd:documentation>



32 </xsd:annotation> 38 </xsd:annotation>



33
39



34 <xsd:group name="ANhier"> 40 <xsd:group name="ANhier">



35 <xsd:choice> 41 <xsd:choice>



36 <xsd:element ref="section"/> 42 <xsd:element ref="section"/>



37 <xsd:element ref="part"/> 43 <xsd:element ref="part"/>



38 <xsd:element ref="paragraph"/> 44 <xsd:element ref="paragraph"/>



39 <xsd:element ref="chapter"/> 45 <xsd:element ref="chapter"/>



40 <xsd:element ref="article"/> 46 <xsd:element ref="article"/>



41 </xsd:choice> 47 </xsd:choice>



42 </xsd:group> 48 </xsd:group>



43
49



44 <xsd:group name="ANcontainers"> 50 <xsd:group name="ANcontainers">



45 <xsd:sequence> 51 <xsd:sequence>



46 <xsd:element ref="div"/> 52 <xsd:element ref="div"/>



47 </xsd:sequence> 53 </xsd:sequence>



48 </xsd:group> 54 </xsd:group>



49
55



50 <xsd:group name="ANblock"> 56 <xsd:group name="ANblock">



51 <xsd:choice> 57 <xsd:choice>



52 <xsd:element ref="toc"/> 58 <xsd:element ref="toc"/>



53 <xsd:element ref="comment"/> 59 <xsd:element ref="comment"/>






60 <xsd:element ref="list"/>





61 <xsd:element ref="tblock"/>



54 </xsd:choice> 62 </xsd:choice>



55 </xsd:group> 63 </xsd:group>



56
64



57 <xsd:group name="ANinline"> 65 <xsd:group name="ANinline">



58 <xsd:choice> 66 <xsd:choice>




59 <xsd:element ref="ref"/>




60 <xsd:element ref="def"/> 67 <xsd:element ref="def"/>






68 <xsd:element ref="ref"/>





69 <xsd:element ref="mref"/>





70 <xsd:element ref="rref"/>



61 <xsd:element ref="mod"/> 71 <xsd:element ref="mod"/>






72 <xsd:element ref="mmod"/>





73 <xsd:element ref="rmod"/>





74 <xsd:element ref="ins"/>





75 <xsd:element ref="del"/>





76 <xsd:element ref="omissis"/>



62 </xsd:choice> 77 </xsd:choice>



63 </xsd:group> 78 </xsd:group>



64
79



65 <xsd:group name="ANtitleInline"> 80 <xsd:group name="ANtitleInline">



66 <xsd:choice> 81 <xsd:choice>



67 <xsd:element ref="ActType"/> 82 <xsd:element ref="ActType"/>



68 <xsd:element ref="ActTitle"/> 83 <xsd:element ref="ActTitle"/>



69 <xsd:element ref="ActNumber"/> 84 <xsd:element ref="ActNumber"/>



70 <xsd:element ref="ActProponent"/> 85 <xsd:element ref="ActProponent"/>



71 <xsd:element ref="ActDate"/> 86 <xsd:element ref="ActDate"/>



72 <xsd:element ref="ActPurpose"/> 87 <xsd:element ref="ActPurpose"/>



73 </xsd:choice> 88 </xsd:choice>



74 </xsd:group> 89 </xsd:group>



75
90



76 <xsd:group name="ANmarker"> 91 <xsd:group name="ANmarker">



77 <xsd:choice> 92 <xsd:choice>



78 <xsd:element ref="noteref"/> 93 <xsd:element ref="noteref"/>



79 <xsd:element ref="recordedTime"/> 94 <xsd:element ref="recordedTime"/>






95 <xsd:element ref="eol"/>





96 <xsd:element ref="eop"/>



80 </xsd:choice> 97 </xsd:choice>



81 </xsd:group> 98 </xsd:group>



82
99



83 <xsd:group name="HTMLcontainers"> 100 <xsd:group name="HTMLcontainers">



84 <xsd:sequence> 101 <xsd:sequence>



85 <xsd:element ref="div"/> 102 <xsd:element ref="div"/>



86 </xsd:sequence> 103 </xsd:sequence>



87 </xsd:group> 104 </xsd:group>



88
105



89 <xsd:group name="HTMLblock"> 106 <xsd:group name="HTMLblock">



90 <xsd:choice> 107 <xsd:choice>



91 <xsd:element ref="p"/> 108 <xsd:element ref="p"/>



92 <xsd:element ref="ul"/> 109 <xsd:element ref="ul"/>



93 <xsd:element ref="ol"/> 110 <xsd:element ref="ol"/>



94 <xsd:element ref="table"/> 111 <xsd:element ref="table"/>



95 </xsd:choice> 112 </xsd:choice>



96 </xsd:group> 113 </xsd:group>



97
114



98 <xsd:group name="HTMLinline"> 115 <xsd:group name="HTMLinline">



99 <xsd:choice> 116 <xsd:choice>



100 <xsd:element ref="span"/> 117 <xsd:element ref="span"/>



101 <xsd:element ref="b"/> 118 <xsd:element ref="b"/>



102 <xsd:element ref="i"/> 119 <xsd:element ref="i"/>



103 <xsd:element ref="a"/> 120 <xsd:element ref="a"/>



104 </xsd:choice> 121 </xsd:choice>



105 </xsd:group> 122 </xsd:group>



106
123



107 <xsd:group name="HTMLmarker"> 124 <xsd:group name="HTMLmarker">



108 <xsd:sequence> 125 <xsd:sequence>



109 <xsd:element ref="img"/> 126 <xsd:element ref="img"/>



110 </xsd:sequence> 127 </xsd:sequence>



111 </xsd:group> 128 </xsd:group>



112
129



113 <xsd:group name="hierElements"> 130 <xsd:group name="hierElements">



114 <xsd:choice> 131 <xsd:choice>



115 <xsd:group ref="ANhier" /> 132 <xsd:group ref="ANhier" />



116 <xsd:element ref="hcontainer"/> 133 <xsd:element ref="hcontainer"/>



117 </xsd:choice> 134 </xsd:choice>



118 </xsd:group> 135 </xsd:group>



119
136



120 <xsd:group name="containerElements"> 137 <xsd:group name="containerElements">



121 <xsd:choice> 138 <xsd:choice>



122 <xsd:group ref="HTMLcontainers" /> 139 <xsd:group ref="HTMLcontainers" />



123 <xsd:element ref="container"/> 140 <xsd:element ref="container"/>



124 </xsd:choice> 141 </xsd:choice>



125 </xsd:group> 142 </xsd:group>



126
143



127 <xsd:group name="blockElements"> 144 <xsd:group name="blockElements">



128 <xsd:choice> 145 <xsd:choice>



129 <xsd:group ref="ANblock" /> 146 <xsd:group ref="ANblock" />



130 <xsd:group ref="HTMLblock" /> 147 <xsd:group ref="HTMLblock" />



131 <xsd:element ref="block"/> 148 <xsd:element ref="block"/>






149 <xsd:element ref="foreign"/>



132 </xsd:choice> 150 </xsd:choice>



133 </xsd:group> 151 </xsd:group>



134
152



135 <xsd:group name="inlineElements"> 153 <xsd:group name="inlineElements">



136 <xsd:choice> 154 <xsd:choice>



137 <xsd:group ref="ANinline" /> 155 <xsd:group ref="ANinline" />



138 <xsd:group ref="HTMLinline" /> 156 <xsd:group ref="HTMLinline" />



139 <xsd:element ref="inline"/> 157 <xsd:element ref="inline"/>



140 <xsd:group ref="ANtitleInline" /> 158 <xsd:group ref="ANtitleInline" />



141 </xsd:choice> 159 </xsd:choice>



142 </xsd:group> 160 </xsd:group>



143
161



144 <xsd:group name="markerElements"> 162 <xsd:group name="markerElements">



145 <xsd:choice> 163 <xsd:choice>



146 <xsd:group ref="ANmarker" /> 164 <xsd:group ref="ANmarker" />



147 <xsd:group ref="HTMLmarker" /> 165 <xsd:group ref="HTMLmarker" />



148 <xsd:element ref="marker"/> 166 <xsd:element ref="marker"/>



149 </xsd:choice> 167 </xsd:choice>



150 </xsd:group> 168 </xsd:group>



151
169



152 <xsd:group name="speechItems"> 170 <xsd:group name="speechItems">



153 <xsd:choice> 171 <xsd:choice>



154 <xsd:element ref="speech"/> 172 <xsd:element ref="speech"/>



155 <xsd:element ref="question"/> 173 <xsd:element ref="question"/>



156 <xsd:element ref="answer"/> 174 <xsd:element ref="answer"/>



157 <xsd:element ref="other"/> 175 <xsd:element ref="other"/>



158 <xsd:element ref="comment"/> 176 <xsd:element ref="comment"/>



159 </xsd:choice> 177 </xsd:choice>



160 </xsd:group> 178 </xsd:group>



161
179




162 <xsd:group name="refItems">




163 <xsd:choice>




164 <xsd:element ref="Original"/>




165 <xsd:element ref="PassiveRef"/>




166 <xsd:element ref="ActiveRef"/>




167 <xsd:element ref="Jurisprudence"/>




168 <xsd:element ref="Attachment"/>




169 <xsd:element ref="AttachmentOf"/>




170 <xsd:element ref="Person"/>




171 <xsd:element ref="Role"/>




172 <xsd:element ref="Organization"/>




173 <xsd:element ref="Reference"/>




174 </xsd:choice>




175 </xsd:group>




176





177 <xsd:annotation> 180 <xsd:annotation>



178 <xsd:documentation> 181 <xsd:documentation>



179 ===================================================================== 182 =====================================================================



180
183



181 Attribute groups 184 Attribute groups



182
185



183 ===================================================================== 186 =====================================================================



184 </xsd:documentation> 187 </xsd:documentation>



185 </xsd:annotation> 188 </xsd:annotation>



186
189



187 <xsd:attributeGroup name="name"> 190 <xsd:attributeGroup name="name">



188 <xsd:attribute name="name" type="xsd:string" use="required"/> 191 <xsd:attribute name="name" type="xsd:string" use="required"/>



189 </xsd:attributeGroup> 192 </xsd:attributeGroup>



190
193



191 <xsd:attributeGroup name="source"> 194 <xsd:attributeGroup name="source">




192 <xsd:attribute name="source" type="xsd:IDREF" use="required"/> 195 <xsd:attribute name="source" type="xsd:anyURI" use="required"/>



193 </xsd:attributeGroup> 196 </xsd:attributeGroup>



194
197



195 <xsd:attributeGroup name="date"> 198 <xsd:attributeGroup name="date">



196 <xsd:attribute name="date" type="xsd:date" use="required"/> 199 <xsd:attribute name="date" type="xsd:date" use="required"/>



197 </xsd:attributeGroup> 200 </xsd:attributeGroup>



198
201



199 <xsd:attributeGroup name="time"> 202 <xsd:attributeGroup name="time">



200 <xsd:attribute name="time" type="xsd:time" use="required"/> 203 <xsd:attribute name="time" type="xsd:time" use="required"/>



201 </xsd:attributeGroup> 204 </xsd:attributeGroup>



202
205



203 <xsd:attributeGroup name="link"> 206 <xsd:attributeGroup name="link">



204 <xsd:attribute name="href" type="xsd:anyURI" use="required"/> 207 <xsd:attribute name="href" type="xsd:anyURI" use="required"/>



205 </xsd:attributeGroup> 208 </xsd:attributeGroup>



206
209




207 <xsd:attributeGroup name="numb"> 210 <xsd:attributeGroup name="value">



208 <xsd:attribute name="numbering" default="off" > 211 <xsd:attribute name="value" type="xsd:string" use="required"/>



209 <xsd:simpleType>




210 <xsd:restriction base="xsd:string">




211 <xsd:enumeration value="on" />




212 <xsd:enumeration value="off" />




213 </xsd:restriction>




214 </xsd:simpleType>




215 </xsd:attribute>




216 </xsd:attributeGroup> 212 </xsd:attributeGroup>



217
213






214 <xsd:attributeGroup name="optvalue">





215 <xsd:attribute name="value" type="xsd:string"/>





216 </xsd:attributeGroup>





217



218 <xsd:attributeGroup name="speechAtts"> 218 <xsd:attributeGroup name="speechAtts">




219 <xsd:attribute name="by" type="xsd:IDREF" use="required"/> 219 <xsd:attribute name="by" type="xsd:anyURI" use="required"/>



220 <xsd:attribute name="as" type="xsd:IDREF"/> 220 <xsd:attribute name="as" type="xsd:anyURI"/>



221 <xsd:attribute name="to" type="xsd:IDREF"/> 221 <xsd:attribute name="to" type="xsd:anyURI"/>



222 </xsd:attributeGroup> 222 </xsd:attributeGroup>



223
223



224 <xsd:attributeGroup name="show"> 224 <xsd:attributeGroup name="show">



225 <xsd:attribute name="showAs" type="xsd:string" use="required"/> 225 <xsd:attribute name="showAs" type="xsd:string" use="required"/>



226 <xsd:attribute name="shortForm" type="xsd:string"/> 226 <xsd:attribute name="shortForm" type="xsd:string"/>



227 </xsd:attributeGroup> 227 </xsd:attributeGroup>



228
228






229 <xsd:attributeGroup name="period">





230 <xsd:attribute name="start" type="xsd:anyURI"/>





231 <xsd:attribute name="end" type="xsd:anyURI"/>





232 </xsd:attributeGroup>





233



229 <xsd:attributeGroup name="enactment"> 234 <xsd:attributeGroup name="enactment">




230 <xsd:attribute name="start" type="xsd:IDREF"/> 235 <xsd:attributeGroup ref="period"/>



231 <xsd:attribute name="end" type="xsd:IDREF"/>




232 <xsd:attribute name="status" type="statusType"/> 236 <xsd:attribute name="status" type="statusType"/>



233 </xsd:attributeGroup> 237 </xsd:attributeGroup>



234
238



235 <xsd:attributeGroup name="cellattrs"> 239 <xsd:attributeGroup name="cellattrs">



236 <xsd:attribute name="rowspan" type="xsd:integer" default="1" /> 240 <xsd:attribute name="rowspan" type="xsd:integer" default="1" />



237 <xsd:attribute name="colspan" type="xsd:integer" default="1" /> 241 <xsd:attribute name="colspan" type="xsd:integer" default="1" />



238 </xsd:attributeGroup> 242 </xsd:attributeGroup>



239
243



240 <xsd:attributeGroup name="HTMLattrs"> 244 <xsd:attributeGroup name="HTMLattrs">



241 <xsd:attribute name="class" type="xsd:string"/> 245 <xsd:attribute name="class" type="xsd:string"/>



242 <xsd:attribute name="style" type="xsd:string"/> 246 <xsd:attribute name="style" type="xsd:string"/>



243 <xsd:attribute name="title" type="xsd:string"/> 247 <xsd:attribute name="title" type="xsd:string"/>



244 </xsd:attributeGroup> 248 </xsd:attributeGroup>



245
249




246 <xsd:attributeGroup name="idref">




247 <xsd:attribute name="idref" type="xsd:IDREF" use="required"/>




248 </xsd:attributeGroup>




249





250 <xsd:attributeGroup name="idreq"> 250 <xsd:attributeGroup name="idreq">



251 <xsd:attribute name="id" type="xsd:ID" use="required"/> 251 <xsd:attribute name="id" type="xsd:ID" use="required"/>



252 </xsd:attributeGroup> 252 </xsd:attributeGroup>



253
253



254 <xsd:attributeGroup name="idopt"> 254 <xsd:attributeGroup name="idopt">



255 <xsd:attribute name="id" type="xsd:ID"/> 255 <xsd:attribute name="id" type="xsd:ID"/>



256 </xsd:attributeGroup> 256 </xsd:attributeGroup>



257
257



258 <xsd:attributeGroup name="corereq"> 258 <xsd:attributeGroup name="corereq">



259 <xsd:attributeGroup ref="HTMLattrs"/> 259 <xsd:attributeGroup ref="HTMLattrs"/>



260 <xsd:attributeGroup ref="enactment"/> 260 <xsd:attributeGroup ref="enactment"/>



261 <xsd:attributeGroup ref="idreq"/> 261 <xsd:attributeGroup ref="idreq"/>



262 </xsd:attributeGroup> 262 </xsd:attributeGroup>



263
263



264 <xsd:attributeGroup name="coreopt"> 264 <xsd:attributeGroup name="coreopt">



265 <xsd:attributeGroup ref="HTMLattrs"/> 265 <xsd:attributeGroup ref="HTMLattrs"/>



266 <xsd:attributeGroup ref="enactment"/> 266 <xsd:attributeGroup ref="enactment"/>



267 <xsd:attributeGroup ref="idopt"/> 267 <xsd:attributeGroup ref="idopt"/>



268 </xsd:attributeGroup> 268 </xsd:attributeGroup>



269
269



270 <xsd:annotation> 270 <xsd:annotation>



271 <xsd:documentation> 271 <xsd:documentation>



272 ===================================================================== 272 =====================================================================



273
273



274 Simple types (data values) 274 Simple types (data values)



275
275



276 ===================================================================== 276 =====================================================================



277 </xsd:documentation> 277 </xsd:documentation>



278 </xsd:annotation> 278 </xsd:annotation>



279
279



280 <xsd:simpleType name="VersionType"> 280 <xsd:simpleType name="VersionType">



281 <xsd:restriction base="xsd:string"> 281 <xsd:restriction base="xsd:string">



282 <xsd:enumeration value="OriginalVersion" /> 282 <xsd:enumeration value="OriginalVersion" />



283 <xsd:enumeration value="SingleVersion" /> 283 <xsd:enumeration value="SingleVersion" />



284 <xsd:enumeration value="MultipleVersions" /> 284 <xsd:enumeration value="MultipleVersions" />



285 </xsd:restriction> 285 </xsd:restriction>



286 </xsd:simpleType> 286 </xsd:simpleType>



287
287



288 <xsd:simpleType name="EventType"> 288 <xsd:simpleType name="EventType">



289 <xsd:restriction base="xsd:string"> 289 <xsd:restriction base="xsd:string">



290 <xsd:enumeration value="Generation" /> 290 <xsd:enumeration value="Generation" />



291 <xsd:enumeration value="Amendment" /> 291 <xsd:enumeration value="Amendment" />



292 <xsd:enumeration value="Repeal" /> 292 <xsd:enumeration value="Repeal" />



293 </xsd:restriction> 293 </xsd:restriction>



294 </xsd:simpleType> 294 </xsd:simpleType>



295
295



296 <xsd:simpleType name="statusType"> 296 <xsd:simpleType name="statusType">



297 <xsd:restriction base="xsd:string"> 297 <xsd:restriction base="xsd:string">



298 <xsd:enumeration value="omissis" /> 298 <xsd:enumeration value="omissis" />



299 <xsd:enumeration value="repealed" /> 299 <xsd:enumeration value="repealed" />



300 <xsd:enumeration value="suspended" /> 300 <xsd:enumeration value="suspended" />



301 </xsd:restriction> 301 </xsd:restriction>



302 </xsd:simpleType> 302 </xsd:simpleType>



303
303



304 <xsd:annotation> 304 <xsd:annotation>



305 <xsd:documentation> 305 <xsd:documentation>



306 ===================================================================== 306 =====================================================================



307
307



308 Complex types (markup structures) 308 Complex types (markup structures)



309
309



310 ===================================================================== 310 =====================================================================



311 </xsd:documentation> 311 </xsd:documentation>



312 </xsd:annotation> 312 </xsd:annotation>



313
313




314 <xsd:complexType name="hierarchy" > 314 <xsd:complexType name="basehierarchy" >



315 <xsd:sequence > 315 <xsd:sequence >



316 <xsd:element ref="num" minOccurs="0" maxOccurs="1" /> 316 <xsd:element ref="num" minOccurs="0" maxOccurs="1" />



317 <xsd:element ref="title" minOccurs="0" maxOccurs="1" /> 317 <xsd:element ref="title" minOccurs="0" maxOccurs="1" />




318 <xsd:sequence minOccurs="1" maxOccurs="unbounded" > 318 <xsd:element ref="subtitle" minOccurs="0" maxOccurs="1" />



319 <xsd:group ref="hierElements" /> 319 <xsd:element ref="sidenote" minOccurs="0" maxOccurs="1" />



320 </xsd:sequence>




321 </xsd:sequence> 320 </xsd:sequence>




322 <xsd:attributeGroup ref="corereq"/>




323 </xsd:complexType> 321 </xsd:complexType>



324
322






323 <xsd:complexType name="hierarchy" >





324 <xsd:complexContent>





325 <xsd:extension base="basehierarchy">





326 <xsd:sequence >





327 <xsd:group ref="hierElements" minOccurs="1" maxOccurs="unbounded" />





328 </xsd:sequence>





329 <xsd:attributeGroup ref="corereq"/>





330 </xsd:extension>





331 </xsd:complexContent>





332 </xsd:complexType>





333



325 <xsd:complexType name="althierarchy" > 334 <xsd:complexType name="althierarchy" >




326 <xsd:sequence > 335 <xsd:complexContent>



327 <xsd:element ref="num" minOccurs="0" maxOccurs="1" /> 336 <xsd:extension base="basehierarchy">



328 <xsd:element ref="title" minOccurs="0" maxOccurs="1" /> 337 <xsd:choice minOccurs="0" maxOccurs="unbounded" >



329 <xsd:choice minOccurs="0" maxOccurs="unbounded" > 338 <xsd:element ref="subdivision" />



330 <xsd:element ref="subdivision" /> 339 <xsd:group ref="speechItems" />



331 <xsd:group ref="speechItems" /> 340 </xsd:choice>



332 </xsd:choice> 341 <xsd:attributeGroup ref="corereq"/>



333 </xsd:sequence> 342 </xsd:extension>



334 <xsd:attributeGroup ref="corereq"/> 343 </xsd:complexContent>



335 </xsd:complexType> 344 </xsd:complexType>



336
345






346 <xsd:complexType name="articleType" >





347 <xsd:complexContent>





348 <xsd:extension base="basehierarchy">





349 <xsd:sequence >





350 <xsd:element ref="clause" minOccurs="1" maxOccurs="unbounded" />





351 </xsd:sequence>





352 <xsd:attributeGroup ref="corereq"/>





353 </xsd:extension>





354 </xsd:complexContent>





355 </xsd:complexType>





356





357 <xsd:complexType name="clauseType" >





358 <xsd:complexContent>





359 <xsd:extension base="basehierarchy">





360 <xsd:sequence minOccurs="1" maxOccurs="unbounded" >





361 <xsd:group ref="blockElements" />





362 </xsd:sequence>





363 <xsd:attributeGroup ref="corereq"/>





364 </xsd:extension>





365 </xsd:complexContent>





366 </xsd:complexType>





367



337 <xsd:complexType name="blocksreq" > 368 <xsd:complexType name="blocksreq" >



338 <xsd:sequence minOccurs="1" maxOccurs="unbounded" > 369 <xsd:sequence minOccurs="1" maxOccurs="unbounded" >



339 <xsd:group ref="blockElements" /> 370 <xsd:group ref="blockElements" />



340 </xsd:sequence> 371 </xsd:sequence>



341 <xsd:attributeGroup ref="corereq"/> 372 <xsd:attributeGroup ref="corereq"/>



342 </xsd:complexType> 373 </xsd:complexType>



343
374



344 <xsd:complexType name="blocksopt" > 375 <xsd:complexType name="blocksopt" >



345 <xsd:sequence minOccurs="1" maxOccurs="unbounded" > 376 <xsd:sequence minOccurs="1" maxOccurs="unbounded" >



346 <xsd:group ref="blockElements" /> 377 <xsd:group ref="blockElements" />



347 </xsd:sequence> 378 </xsd:sequence>



348 <xsd:attributeGroup ref="coreopt"/> 379 <xsd:attributeGroup ref="coreopt"/>



349 </xsd:complexType> 380 </xsd:complexType>



350
381



351 <xsd:complexType name="inline" mixed="true"> 382 <xsd:complexType name="inline" mixed="true">



352 <xsd:choice minOccurs="0" maxOccurs="unbounded" > 383 <xsd:choice minOccurs="0" maxOccurs="unbounded" >



353 <xsd:group ref="inlineElements" /> 384 <xsd:group ref="inlineElements" />



354 <xsd:group ref="markerElements" /> 385 <xsd:group ref="markerElements" />



355 </xsd:choice> 386 </xsd:choice>



356 <xsd:attributeGroup ref="coreopt"/> 387 <xsd:attributeGroup ref="coreopt"/>



357 </xsd:complexType> 388 </xsd:complexType>



358
389



359 <xsd:complexType name="markerreq" > 390 <xsd:complexType name="markerreq" >



360 <xsd:attributeGroup ref="corereq"/> 391 <xsd:attributeGroup ref="corereq"/>



361 </xsd:complexType> 392 </xsd:complexType>



362
393



363 <xsd:complexType name="markeropt" > 394 <xsd:complexType name="markeropt" >



364 <xsd:attributeGroup ref="coreopt"/> 395 <xsd:attributeGroup ref="coreopt"/>



365 </xsd:complexType> 396 </xsd:complexType>



366
397






398 <xsd:complexType name="metareq" >





399 <xsd:attributeGroup ref="idreq"/>





400 </xsd:complexType>





401





402 <xsd:complexType name="metaopt" >





403 <xsd:attributeGroup ref="idopt"/>





404 </xsd:complexType>





405





406 <xsd:complexType name="anyOther" >





407 <xsd:choice>





408 <xsd:any namespace="##other"/>





409 </xsd:choice>





410 </xsd:complexType>





411



367 <xsd:complexType name="speechType" > 412 <xsd:complexType name="speechType" >




368 <xsd:sequence minOccurs="1" maxOccurs="unbounded" > 413 <xsd:sequence >



369 <xsd:group ref="blockElements" /> 414 <xsd:element ref="from" />





415 <xsd:sequence minOccurs="1" maxOccurs="unbounded" >





416 <xsd:group ref="blockElements" />





417 </xsd:sequence>



370 </xsd:sequence> 418 </xsd:sequence>



371 <xsd:attributeGroup ref="coreopt"/> 419 <xsd:attributeGroup ref="coreopt"/>



372 <xsd:attributeGroup ref="speechAtts"/> 420 <xsd:attributeGroup ref="speechAtts"/>



373 </xsd:complexType> 421 </xsd:complexType>



374
422




375 <xsd:complexType name="publicationType" > 423 <xsd:complexType name="referenceType" >



376 <xsd:attributeGroup ref="coreopt"/> 424 <xsd:attributeGroup ref="idreq"/>



377 <xsd:attributeGroup ref="date"/> 425 <xsd:attributeGroup ref="link"/>



378 <xsd:attributeGroup ref="show"/> 426 <xsd:attributeGroup ref="show"/>




379 <xsd:attributeGroup ref="name"/>




380 </xsd:complexType> 427 </xsd:complexType>



381
428




382 <xsd:complexType name="referenceType" > 429 <xsd:complexType name="argumentType" >



383 <xsd:attributeGroup ref="corereq"/> 430 <xsd:attributeGroup ref="idopt"/>



384 <xsd:attributeGroup ref="link"/> 431 <xsd:attributeGroup ref="link"/>




385 <xsd:attributeGroup ref="show"/>




386 </xsd:complexType> 432 </xsd:complexType>



387
433






434 <xsd:complexType name="periodType" >





435 <xsd:attributeGroup ref="idopt"/>





436 <xsd:attributeGroup ref="period"/>





437 </xsd:complexType>





438



388 <xsd:annotation> 439 <xsd:annotation>



389 <xsd:documentation> 440 <xsd:documentation>



390 ===================================================================== 441 =====================================================================



391
442



392 Root element 443 Root element



393 Comment: One generic root element contains all document elements 444 Comment: One generic root element contains all document elements



394 Pattern: Universal Root 445 Pattern: Universal Root



395 Reference: http://www.xmlpatterns.com/UniversalRootMain.shtml 446 Reference: http://www.xmlpatterns.com/UniversalRootMain.shtml



396
447



397 ===================================================================== 448 =====================================================================



398 </xsd:documentation> 449 </xsd:documentation>



399 </xsd:annotation> 450 </xsd:annotation>



400
451



401 <xsd:complexType name="DocumentTypes" > 452 <xsd:complexType name="DocumentTypes" >



402 <xsd:choice > 453 <xsd:choice >



403 <xsd:element ref="act" /> 454 <xsd:element ref="act" />



404 <xsd:element ref="bill" /> 455 <xsd:element ref="bill" />



405 <xsd:element ref="doc" /> 456 <xsd:element ref="doc" />



406 <xsd:element ref="report" /> 457 <xsd:element ref="report" />



407 <xsd:element ref="minutes" /> 458 <xsd:element ref="minutes" />



408 </xsd:choice> 459 </xsd:choice>



409 </xsd:complexType> 460 </xsd:complexType>



410
461



411 <xsd:element name="akomantoso" type="DocumentTypes" /> 462 <xsd:element name="akomantoso" type="DocumentTypes" />



412
463



413 <xsd:annotation> 464 <xsd:annotation>



414 <xsd:documentation> 465 <xsd:documentation>



415 ===================================================================== 466 =====================================================================



416
467



417 Document elements 468 Document elements



418 Comment: All document elements share just two content models 469 Comment: All document elements share just two content models



419 Pattern: Consistent Element Set 470 Pattern: Consistent Element Set



420 Reference: http://www.xmlpatterns.com/ConsistentElementSetMain.shtml 471 Reference: http://www.xmlpatterns.com/ConsistentElementSetMain.shtml



421
472



422 ===================================================================== 473 =====================================================================



423 </xsd:documentation> 474 </xsd:documentation>



424 </xsd:annotation> 475 </xsd:annotation>



425
476



426 <xsd:complexType name="HierarchicalStructure" > 477 <xsd:complexType name="HierarchicalStructure" >



427 <xsd:sequence > 478 <xsd:sequence >



428 <xsd:element ref="meta" /> 479 <xsd:element ref="meta" />



429 <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> 480 <xsd:element ref="preface" minOccurs="0" maxOccurs="1" />



430 <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" /> 481 <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" />



431 <xsd:element ref="clauses" /> 482 <xsd:element ref="clauses" />



432 <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> 483 <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" />



433 <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> 484 <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" />



434 </xsd:sequence> 485 </xsd:sequence>



435 <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> 486 <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" />



436 </xsd:complexType> 487 </xsd:complexType>



437
488



438 <xsd:complexType name="OpenStructure" > 489 <xsd:complexType name="OpenStructure" >



439 <xsd:sequence > 490 <xsd:sequence >



440 <xsd:element ref="meta" /> 491 <xsd:element ref="meta" />



441 <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> 492 <xsd:element ref="preface" minOccurs="0" maxOccurs="1" />



442 <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" /> 493 <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" />



443 <xsd:element ref="maincontent" /> 494 <xsd:element ref="maincontent" />



444 <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> 495 <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" />



445 <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> 496 <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" />



446 </xsd:sequence> 497 </xsd:sequence>



447 <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> 498 <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" />



448 </xsd:complexType> 499 </xsd:complexType>



449
500



450 <xsd:complexType name="DebateStructure" > 501 <xsd:complexType name="DebateStructure" >



451 <xsd:sequence > 502 <xsd:sequence >



452 <xsd:element ref="meta" /> 503 <xsd:element ref="meta" />



453 <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> 504 <xsd:element ref="preface" minOccurs="0" maxOccurs="1" />



454 <xsd:element ref="debate" /> 505 <xsd:element ref="debate" />



455 <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> 506 <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" />



456 <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> 507 <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" />



457 </xsd:sequence> 508 </xsd:sequence>



458 <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> 509 <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" />



459 </xsd:complexType> 510 </xsd:complexType>



460
511



461 <xsd:element name="act" type="HierarchicalStructure" /> 512 <xsd:element name="act" type="HierarchicalStructure" />



462
513



463 <xsd:element name="bill" type="HierarchicalStructure" /> 514 <xsd:element name="bill" type="HierarchicalStructure" />



464
515



465 <xsd:element name="doc" type="OpenStructure" /> 516 <xsd:element name="doc" type="OpenStructure" />



466
517



467 <xsd:element name="report" type="OpenStructure" /> 518 <xsd:element name="report" type="OpenStructure" />



468
519



469 <xsd:element name="minutes" type="DebateStructure" /> 520 <xsd:element name="minutes" type="DebateStructure" />



470
521



471 <xsd:annotation> 522 <xsd:annotation>



472 <xsd:documentation> 523 <xsd:documentation>



473 ===================================================================== 524 =====================================================================



474
525



475 AN common containers elements 526 AN common containers elements



476
527



477 ===================================================================== 528 =====================================================================



478 </xsd:documentation> 529 </xsd:documentation>



479 </xsd:annotation> 530 </xsd:annotation>



480
531



481 <xsd:element name="preface" type="blocksopt" /> 532 <xsd:element name="preface" type="blocksopt" />



482
533



483 <xsd:element name="preamble" type="blocksopt" /> 534 <xsd:element name="preamble" type="blocksopt" />



484
535



485 <xsd:element name="conclusions" type="blocksopt" /> 536 <xsd:element name="conclusions" type="blocksopt" />



486
537



487 <xsd:element name="attachments"> 538 <xsd:element name="attachments">



488 <xsd:complexType > 539 <xsd:complexType >



489 <xsd:sequence > 540 <xsd:sequence >



490 <xsd:element ref="attachment" minOccurs="1" maxOccurs="unbounded" /> 541 <xsd:element ref="attachment" minOccurs="1" maxOccurs="unbounded" />



491 </xsd:sequence> 542 </xsd:sequence>



492 </xsd:complexType> 543 </xsd:complexType>



493 </xsd:element> 544 </xsd:element>



494
545



495 <xsd:element name="attachment" type="referenceType" /> 546 <xsd:element name="attachment" type="referenceType" />



496
547



497 <xsd:element name="clauses"> 548 <xsd:element name="clauses">



498 <xsd:complexType > 549 <xsd:complexType >



499 <xsd:sequence minOccurs="1" maxOccurs="unbounded" > 550 <xsd:sequence minOccurs="1" maxOccurs="unbounded" >



500 <xsd:group ref="hierElements" /> 551 <xsd:group ref="hierElements" />



501 </xsd:sequence> 552 </xsd:sequence>



502 </xsd:complexType> 553 </xsd:complexType>



503 </xsd:element> 554 </xsd:element>



504
555



505 <xsd:element name="debate"> 556 <xsd:element name="debate">



506 <xsd:complexType > 557 <xsd:complexType >



507 <xsd:sequence > 558 <xsd:sequence >



508 <xsd:element ref="subdivision" minOccurs="1" maxOccurs="unbounded" /> 559 <xsd:element ref="subdivision" minOccurs="1" maxOccurs="unbounded" />



509 </xsd:sequence> 560 </xsd:sequence>



510 </xsd:complexType> 561 </xsd:complexType>



511 </xsd:element> 562 </xsd:element>



512
563



513 <xsd:element name="maincontent"> 564 <xsd:element name="maincontent">



514 <xsd:complexType > 565 <xsd:complexType >



515 <xsd:choice minOccurs="1" maxOccurs="unbounded" > 566 <xsd:choice minOccurs="1" maxOccurs="unbounded" >



516 <xsd:group ref="hierElements" /> 567 <xsd:group ref="hierElements" />



517 <xsd:element ref="subdivision" /> 568 <xsd:element ref="subdivision" />




518 <xsd:element ref="item" />




519 <xsd:group ref="blockElements" /> 569 <xsd:group ref="blockElements" />



520 <xsd:group ref="containerElements" /> 570 <xsd:group ref="containerElements" />



521 </xsd:choice> 571 </xsd:choice>




522 <xsd:attributeGroup ref="numb"/>




523 </xsd:complexType> 572 </xsd:complexType>



524 </xsd:element> 573 </xsd:element>



525
574



526 <xsd:annotation> 575 <xsd:annotation>



527 <xsd:documentation> 576 <xsd:documentation>



528 ===================================================================== 577 =====================================================================



529
578



530 Elements for hierarchical documents 579 Elements for hierarchical documents



531
580



532 ===================================================================== 581 =====================================================================



533 </xsd:documentation> 582 </xsd:documentation>



534 </xsd:annotation> 583 </xsd:annotation>



535
584



536 <xsd:element name="section" type="hierarchy" /> 585 <xsd:element name="section" type="hierarchy" />



537
586



538 <xsd:element name="part" type="hierarchy" /> 587 <xsd:element name="part" type="hierarchy" />



539
588



540 <xsd:element name="paragraph" type="hierarchy" /> 589 <xsd:element name="paragraph" type="hierarchy" />



541
590



542 <xsd:element name="chapter" type="hierarchy" /> 591 <xsd:element name="chapter" type="hierarchy" />



543
592




544 <xsd:complexType name="ArticleType" > 593 <xsd:element name="article" type="articleType" />



545 <xsd:sequence > 594



546 <xsd:element ref="num" minOccurs="0" maxOccurs="1" /> 595 <xsd:element name="clause" type="clauseType" />



547 <xsd:element ref="title" minOccurs="0" maxOccurs="1" />




548 <xsd:element ref="clause" minOccurs="1" maxOccurs="unbounded" />




549 </xsd:sequence>




550 <xsd:attributeGroup ref="corereq"/>




551 </xsd:complexType>




552





553 <xsd:element name="article" type="ArticleType" />




554





555 <xsd:complexType name="ClauseType" >




556 <xsd:sequence >




557 <xsd:element ref="num" minOccurs="0" maxOccurs="1" />




558 <xsd:element ref="title" minOccurs="0" maxOccurs="1" />




559 <xsd:sequence minOccurs="1" maxOccurs="unbounded" >




560 <xsd:group ref="blockElements" />




561 </xsd:sequence>




562 </xsd:sequence>




563 <xsd:attributeGroup ref="corereq"/>




564 </xsd:complexType>




565





566 <xsd:element name="clause" type="ClauseType" />




567
596



568 <xsd:element name="num" type="inline" /> 597 <xsd:element name="num" type="inline" />



569
598



570 <xsd:element name="title" type="inline" /> 599 <xsd:element name="title" type="inline" />



571
600



572 <xsd:element name="subtitle" type="inline" /> 601 <xsd:element name="subtitle" type="inline" />



573
602






603 <xsd:element name="sidenote" type="inline" />





604





605 <xsd:element name="from" type="inline" />





606



574 <xsd:annotation> 607 <xsd:annotation>



575 <xsd:documentation> 608 <xsd:documentation>



576 ===================================================================== 609 =====================================================================



577
610



578 Elements for debates documents 611 Elements for debates documents



579
612



580 ===================================================================== 613 =====================================================================



581 </xsd:documentation> 614 </xsd:documentation>



582 </xsd:annotation> 615 </xsd:annotation>



583
616



584 <xsd:element name="subdivision" type="althierarchy" /> 617 <xsd:element name="subdivision" type="althierarchy" />



585
618



586 <xsd:element name="speech" type="speechType" /> 619 <xsd:element name="speech" type="speechType" />



587
620



588 <xsd:element name="question" type="speechType" /> 621 <xsd:element name="question" type="speechType" />



589
622



590 <xsd:element name="answer" type="speechType" /> 623 <xsd:element name="answer" type="speechType" />



591
624



592 <xsd:element name="other" type="blocksopt" /> 625 <xsd:element name="other" type="blocksopt" />



593
626



594 <xsd:element name="comment" type="inline" /> 627 <xsd:element name="comment" type="inline" />



595
628




596 <xsd:complexType name="itemType" > 629 <xsd:element name="list">



597 <xsd:sequence > 630 <xsd:complexType >



598 <xsd:element ref="num" minOccurs="0" maxOccurs="1" /> 631 <xsd:sequence >



599 <xsd:element ref="title" minOccurs="0" maxOccurs="1" /> 632 <xsd:element ref="item" minOccurs="1" maxOccurs="unbounded" />



600 <xsd:element ref="subtitle" minOccurs="0" maxOccurs="1" /> 633 </xsd:sequence>



601 <xsd:choice minOccurs="1" maxOccurs="unbounded" >




602 <xsd:element ref="item" />




603 <xsd:group ref="blockElements" />




604 </xsd:choice>




605 </xsd:sequence>




606 <xsd:attributeGroup ref="corereq"/>




607 </xsd:complexType>




608





609 <xsd:element name="item">




610 <xsd:complexType>




611 <xsd:complexContent>




612 <xsd:extension base="itemType">




613 <xsd:attributeGroup ref="numb"/>




614 </xsd:extension>




615 </xsd:complexContent>




616 </xsd:complexType> 634 </xsd:complexType>



617 </xsd:element> 635 </xsd:element>



618
636






637 <xsd:element name="tblock" type="clauseType" />





638





639 <xsd:element name="item" type="clauseType" />





640



619 <xsd:annotation> 641 <xsd:annotation>



620 <xsd:documentation> 642 <xsd:documentation>



621 ===================================================================== 643 =====================================================================



622
644



623 AN block elements 645 AN block elements



624 Comment: the only AN-specific block is the table of content (TOC), 646 Comment: the only AN-specific block is the table of content (TOC),



625 a structure containing toc items related to the various subparts of the 647 a structure containing toc items related to the various subparts of the



626 main document. 648 main document.



627
649



628 ===================================================================== 650 =====================================================================



629 </xsd:documentation> 651 </xsd:documentation>



630 </xsd:annotation> 652 </xsd:annotation>



631
653



632 <xsd:element name="toc"> 654 <xsd:element name="toc">



633 <xsd:complexType > 655 <xsd:complexType >



634 <xsd:sequence > 656 <xsd:sequence >



635 <xsd:element ref="tocitem" minOccurs="1" maxOccurs="unbounded" /> 657 <xsd:element ref="tocitem" minOccurs="1" maxOccurs="unbounded" />



636 </xsd:sequence> 658 </xsd:sequence>



637 </xsd:complexType> 659 </xsd:complexType>



638 </xsd:element> 660 </xsd:element>



639
661



640 <xsd:element name="tocitem"> 662 <xsd:element name="tocitem">



641 <xsd:complexType mixed="true"> 663 <xsd:complexType mixed="true">



642 <xsd:complexContent> 664 <xsd:complexContent>



643 <xsd:extension base="inline"> 665 <xsd:extension base="inline">




644 <xsd:attributeGroup ref="idref"/> 666 <xsd:attributeGroup ref="link"/>



645 <xsd:attribute name="level" type="xsd:integer" use="required"/> 667 <xsd:attribute name="level" type="xsd:integer" use="required"/>



646 </xsd:extension> 668 </xsd:extension>



647 </xsd:complexContent> 669 </xsd:complexContent>



648 </xsd:complexType> 670 </xsd:complexType>



649 </xsd:element> 671 </xsd:element>



650
672



651 <xsd:annotation> 673 <xsd:annotation>



652 <xsd:documentation> 674 <xsd:documentation>



653 ===================================================================== 675 =====================================================================



654
676



655 AN inline elements 677 AN inline elements



656 Comment: AN-specific inline elements are connected to the 678 Comment: AN-specific inline elements are connected to the



657 identification of elements that are corresponding to an inline 679 identification of elements that are corresponding to an inline



658 legal structure, regardless of their position in the document. 680 legal structure, regardless of their position in the document.



659
681



660 ===================================================================== 682 =====================================================================



661 </xsd:documentation> 683 </xsd:documentation>



662 </xsd:annotation> 684 </xsd:annotation>



663
685



664 <xsd:element name="ActType" type="inline" /> 686 <xsd:element name="ActType" type="inline" />



665
687



666 <xsd:element name="ActTitle" type="inline" /> 688 <xsd:element name="ActTitle" type="inline" />



667
689



668 <xsd:element name="ActNumber" type="inline" /> 690 <xsd:element name="ActNumber" type="inline" />



669
691



670 <xsd:element name="ActProponent" type="inline" /> 692 <xsd:element name="ActProponent" type="inline" />



671
693



672 <xsd:element name="ActDate" type="inline" /> 694 <xsd:element name="ActDate" type="inline" />



673
695



674 <xsd:element name="ActPurpose" type="inline" /> 696 <xsd:element name="ActPurpose" type="inline" />



675
697






698 <xsd:element name="mref" type="inline" />





699



676 <xsd:element name="ref"> 700 <xsd:element name="ref">



677 <xsd:complexType mixed="true"> 701 <xsd:complexType mixed="true">



678 <xsd:complexContent> 702 <xsd:complexContent>



679 <xsd:extension base="inline"> 703 <xsd:extension base="inline">



680 <xsd:attributeGroup ref="link"/> 704 <xsd:attributeGroup ref="link"/>



681 </xsd:extension> 705 </xsd:extension>



682 </xsd:complexContent> 706 </xsd:complexContent>



683 </xsd:complexType> 707 </xsd:complexType>



684 </xsd:element> 708 </xsd:element>



685
709






710 <xsd:element name="rref">





711 <xsd:complexType mixed="true">





712 <xsd:complexContent>





713 <xsd:extension base="inline">





714 <xsd:attributeGroup ref="link"/>





715 <xsd:attribute name="upTo" type="xsd:anyURI" use="required"/>





716 </xsd:extension>





717 </xsd:complexContent>





718 </xsd:complexType>





719 </xsd:element>





720



686 <xsd:element name="def" type="inline" /> 721 <xsd:element name="def" type="inline" />



687
722






723 <xsd:element name="ins" type="inline" />





724





725 <xsd:element name="del" type="inline" />





726





727 <xsd:element name="omissis" type="inline" />





728



688 <xsd:element name="noteref"> 729 <xsd:element name="noteref">



689 <xsd:complexType> 730 <xsd:complexType>



690 <xsd:complexContent> 731 <xsd:complexContent>



691 <xsd:extension base="markeropt"> 732 <xsd:extension base="markeropt">






733 <xsd:attributeGroup ref="link"/>



692 <xsd:attribute name="num" type="xsd:string" use="required"/> 734 <xsd:attribute name="num" type="xsd:string" use="required"/>




693 <xsd:attributeGroup ref="idref"/>




694 </xsd:extension> 735 </xsd:extension>



695 </xsd:complexContent> 736 </xsd:complexContent>



696 </xsd:complexType> 737 </xsd:complexType>



697 </xsd:element> 738 </xsd:element>



698
739



699 <xsd:element name="recordedTime"> 740 <xsd:element name="recordedTime">



700 <xsd:complexType> 741 <xsd:complexType>



701 <xsd:complexContent> 742 <xsd:complexContent>



702 <xsd:extension base="markeropt"> 743 <xsd:extension base="markeropt">



703 <xsd:attributeGroup ref="time"/> 744 <xsd:attributeGroup ref="time"/>



704 </xsd:extension> 745 </xsd:extension>



705 </xsd:complexContent> 746 </xsd:complexContent>



706 </xsd:complexType> 747 </xsd:complexType>



707 </xsd:element> 748 </xsd:element>



708
749






750 <xsd:complexType name="eolType" >





751 <xsd:complexContent>





752 <xsd:extension base="markeropt">





753 <xsd:attribute name="breakat" type="xsd:integer"/>





754 </xsd:extension>





755 </xsd:complexContent>





756 </xsd:complexType>





757





758 <xsd:element name="eol" type="eolType" />





759





760 <xsd:element name="eop" type="eolType" />





761



709 <xsd:element name="mod"> 762 <xsd:element name="mod">



710 <xsd:complexType mixed="true"> 763 <xsd:complexType mixed="true">



711 <xsd:complexContent> 764 <xsd:complexContent>



712 <xsd:extension base="inline"> 765 <xsd:extension base="inline">



713 <xsd:choice > 766 <xsd:choice >



714 <xsd:element ref="quotedText" /> 767 <xsd:element ref="quotedText" />



715 <xsd:element ref="quotedStructure" /> 768 <xsd:element ref="quotedStructure" />



716 </xsd:choice> 769 </xsd:choice>



717 </xsd:extension> 770 </xsd:extension>



718 </xsd:complexContent> 771 </xsd:complexContent>



719 </xsd:complexType> 772 </xsd:complexType>



720 </xsd:element> 773 </xsd:element>



721
774






775 <xsd:element name="mmod">





776 <xsd:complexType mixed="true">





777 <xsd:complexContent>





778 <xsd:extension base="inline">





779 <xsd:choice >





780 <xsd:element ref="quotedText" />





781 <xsd:element ref="quotedStructure" />





782 </xsd:choice>





783 </xsd:extension>





784 </xsd:complexContent>





785 </xsd:complexType>





786 </xsd:element>





787





788 <xsd:element name="rmod">





789 <xsd:complexType mixed="true">





790 <xsd:complexContent>





791 <xsd:extension base="inline">





792 <xsd:choice >





793 <xsd:element ref="quotedText" />





794 <xsd:element ref="quotedStructure" />





795 </xsd:choice>





796 <xsd:attribute name="upTo" type="xsd:anyURI" use="required"/>





797 </xsd:extension>





798 </xsd:complexContent>





799 </xsd:complexType>





800 </xsd:element>





801



722 <xsd:element name="quotedText" type="inline" /> 802 <xsd:element name="quotedText" type="inline" />



723
803



724 <xsd:element name="quotedStructure"> 804 <xsd:element name="quotedStructure">



725 <xsd:complexType > 805 <xsd:complexType >



726 <xsd:choice minOccurs="1" maxOccurs="unbounded" > 806 <xsd:choice minOccurs="1" maxOccurs="unbounded" >



727 <xsd:group ref="hierElements" /> 807 <xsd:group ref="hierElements" />



728 <xsd:group ref="blockElements" /> 808 <xsd:group ref="blockElements" />



729 <xsd:group ref="containerElements" /> 809 <xsd:group ref="containerElements" />



730 </xsd:choice> 810 </xsd:choice>



731 <xsd:attributeGroup ref="corereq"/> 811 <xsd:attributeGroup ref="corereq"/>



732 </xsd:complexType> 812 </xsd:complexType>



733 </xsd:element> 813 </xsd:element>



734
814



735 <xsd:annotation> 815 <xsd:annotation>



736 <xsd:documentation> 816 <xsd:documentation>



737 ===================================================================== 817 =====================================================================



738
818



739 Generic elements 819 Generic elements



740 Comment: All elements in this schema fall under one of five 820 Comment: All elements in this schema fall under one of five



741 content models: hierarchical container, container, block, inline 821 content models: hierarchical container, container, block, inline



742 and mark. Besides named elements, the schema also provides for a 822 and mark. Besides named elements, the schema also provides for a



743 generic element for each of them, that can be used for markup that 823 generic element for each of them, that can be used for markup that



744 fits the content models but can be specified by a precise name that 824 fits the content models but can be specified by a precise name that



745 is not used in this schema. The 'name' attribute must be used for 825 is not used in this schema. The 'name' attribute must be used for



746 naming the element. 826 naming the element.



747 It is also a characteristic of this schema that all named elements 827 It is also a characteristic of this schema that all named elements



748 are equivalent, and can be substituted to, the corresponding generic 828 are equivalent, and can be substituted to, the corresponding generic



749 element with their name as the value of the name attribute. Thus, by 829 element with their name as the value of the name attribute. Thus, by




750 definition, &lt;p&gt; = &lt;block name="p"&gt;, &lt;part&gt; = &lt;hcontainer name="part"&gt;, 830 definition, &lt;p&gt; = &lt;block name="p"&gt; , &lt;part&gt; = &lt;hcontainer name="part"&gt; ,



751 &lt;act&gt; = &lt;container name="act"&gt;, etc. 831 &lt;act&gt; = &lt;container name="act"&gt; , etc.



752 Pattern: Generic Document + Role Attribute 832 Pattern: Generic Document + Role Attribute



753 Reference: http://www.xmlpatterns.com/GenericDocumentMain.shtml + 833 Reference: http://www.xmlpatterns.com/GenericDocumentMain.shtml +



754 http://www.xmlpatterns.com/RoleAttributeMain.shtml 834 http://www.xmlpatterns.com/RoleAttributeMain.shtml



755
835



756 ===================================================================== 836 =====================================================================



757 </xsd:documentation> 837 </xsd:documentation>



758 </xsd:annotation> 838 </xsd:annotation>



759
839



760 <xsd:element name="hcontainer"> 840 <xsd:element name="hcontainer">



761 <xsd:complexType> 841 <xsd:complexType>



762 <xsd:complexContent> 842 <xsd:complexContent>



763 <xsd:extension base="hierarchy"> 843 <xsd:extension base="hierarchy">



764 <xsd:attributeGroup ref="name"/> 844 <xsd:attributeGroup ref="name"/>



765 </xsd:extension> 845 </xsd:extension>



766 </xsd:complexContent> 846 </xsd:complexContent>



767 </xsd:complexType> 847 </xsd:complexType>



768 </xsd:element> 848 </xsd:element>



769
849



770 <xsd:element name="container"> 850 <xsd:element name="container">



771 <xsd:complexType> 851 <xsd:complexType>