Diff:Jun 2007 & Feb 2007
| /rel_history/trunk/akomantoso10.xsd r101 | /rel_history/trunk/akomantoso10.xsd r103 | ||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|---|
| 2 | <xsd:schema | 2 | <xsd:schema |
| 3 | targetNamespace="http://www.akomantoso.org/1.0" | 3 | targetNamespace="http://www.akomantoso.org/1.0" |
| 4 | xmlns="http://www.akomantoso.org/1.0" | 4 | xmlns="http://www.akomantoso.org/1.0" |
| 5 | elementFormDefault="qualified" | 5 | elementFormDefault="qualified" |
| 6 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" | 6 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 7 | > | 7 | > |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | 10 | ||
| 11 | <xsd:annotation> | 11 | <xsd:annotation> |
| 12 | <xsd:documentation> | 12 | <xsd:documentation> |
| 13 | ===================================================================== | 13 | ===================================================================== |
| 14 | Akoma Ntoso main schema | 14 | Akoma Ntoso main schema |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | Release 01/02/2007 | 17 | Release 08/06/2007 |
| 18 | technical supervision Fabio Vitali - University of Bologna | 18 | technical supervision Fabio Vitali - University of Bologna |
| 19 | legal domain supervision Monica Palmirani - University of Bologna | 19 | legal domain supervision Monica Palmirani - University of Bologna |
| 20 | 20 | ||
| 21 | The present schema uses systematically XML design patterns as | 21 | The present schema uses systematically XML design patterns as |
| 22 | described in http://www.xmlpatterns.com/ | 22 | described in http://www.xmlpatterns.com/ |
| 23 | 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 |
| 24 | 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 |
| 25 | mentions. | 25 | mentions. |
| 26 | ===================================================================== | 26 | ===================================================================== |
| 27 | </xsd:documentation> | 27 | </xsd:documentation> |
| 28 | </xsd:annotation> | 28 | </xsd:annotation> |
| 29 | 29 | ||
| 30 | <xsd:annotation> | 30 | <xsd:annotation> |
| 31 | <xsd:documentation> | 31 | <xsd:documentation> |
| 32 | ===================================================================== | 32 | ===================================================================== |
| 33 | 33 | ||
| 34 | Main element groups | 34 | Main element groups |
| 35 | 35 | ||
| 36 | ===================================================================== | 36 | ===================================================================== |
| 37 | </xsd:documentation> | 37 | </xsd:documentation> |
| 38 | </xsd:annotation> | 38 | </xsd:annotation> |
| 39 | 39 | ||
| 40 | <xsd:group name="ANhier"> | 40 | <xsd:group name="ANhier"> |
| 41 | <xsd:choice> | 41 | <xsd:choice> |
| 42 | <xsd:element ref="section"/> | 42 | <xsd:element ref="section"/> |
| 43 | <xsd:element ref="part"/> | 43 | <xsd:element ref="part"/> |
| 44 | <xsd:element ref="paragraph"/> | 44 | <xsd:element ref="paragraph"/> |
| 45 | <xsd:element ref="chapter"/> | 45 | <xsd:element ref="chapter"/> |
| 46 | <xsd:element ref="article"/> | 46 | <xsd:element ref="article"/> |
| 47 | </xsd:choice> | 47 | </xsd:choice> |
| 48 | </xsd:group> | 48 | </xsd:group> |
| 49 | 49 | ||
| 50 | <xsd:group name="ANcontainers"> | 50 | <xsd:group name="ANcontainers"> |
| 51 | <xsd:sequence> | 51 | <xsd:sequence> |
| 52 | <xsd:element ref="div"/> | 52 | <xsd:element ref="div"/> |
| 53 | </xsd:sequence> | 53 | </xsd:sequence> |
| 54 | </xsd:group> | 54 | </xsd:group> |
| 55 | 55 | ||
| 56 | <xsd:group name="ANblock"> | 56 | <xsd:group name="ANblock"> |
| 57 | <xsd:choice> | 57 | <xsd:choice> |
| 58 | <xsd:element ref="toc"/> | 58 | <xsd:element ref="toc"/> |
| 59 | <xsd:element ref="comment"/> | 59 | <xsd:element ref="comment"/> |
| 60 | <xsd:element ref="list"/> | 60 | <xsd:element ref="list"/> |
| 61 | <xsd:element ref="tblock"/> | 61 | <xsd:element ref="tblock"/> |
| 62 | </xsd:choice> | 62 | </xsd:choice> |
| 63 | </xsd:group> | 63 | </xsd:group> |
| 64 | 64 | ||
| 65 | <xsd:group name="ANinline"> | 65 | <xsd:group name="ANinline"> |
| 66 | <xsd:choice> | 66 | <xsd:choice> |
| 67 | <xsd:element ref="def"/> | 67 | <xsd:element ref="def"/> |
| 68 | <xsd:element ref="ref"/> | 68 | <xsd:element ref="ref"/> |
| 69 | <xsd:element ref="mref"/> | 69 | <xsd:element ref="mref"/> |
| 70 | <xsd:element ref="rref"/> | 70 | <xsd:element ref="rref"/> |
| 71 | <xsd:element ref="mod"/> | 71 | <xsd:element ref="mod"/> |
| 72 | <xsd:element ref="mmod"/> | 72 | <xsd:element ref="mmod"/> |
| 73 | <xsd:element ref="rmod"/> | 73 | <xsd:element ref="rmod"/> |
| 74 | <xsd:element ref="ins"/> | 74 | <xsd:element ref="ins"/> |
| 75 | <xsd:element ref="del"/> | 75 | <xsd:element ref="del"/> |
| 76 | <xsd:element ref="omissis"/> | 76 | <xsd:element ref="omissis"/> |
| 77 | </xsd:choice> | 77 | </xsd:choice> |
| 78 | </xsd:group> | 78 | </xsd:group> |
| 79 | 79 | ||
| 80 | <xsd:group name="ANtitleInline"> | 80 | <xsd:group name="ANtitleInline"> |
| 81 | <xsd:choice> | 81 | <xsd:choice> |
| 82 | <xsd:element ref="ActType"/> | 82 | <xsd:element ref="ActType"/> |
| 83 | <xsd:element ref="ActTitle"/> | 83 | <xsd:element ref="ActTitle"/> |
| 84 | <xsd:element ref="ActNumber"/> | 84 | <xsd:element ref="ActNumber"/> |
| 85 | <xsd:element ref="ActProponent"/> | 85 | <xsd:element ref="ActProponent"/> |
| 86 | <xsd:element ref="ActDate"/> | 86 | <xsd:element ref="ActDate"/> |
| 87 | <xsd:element ref="ActPurpose"/> | 87 | <xsd:element ref="ActPurpose"/> |
| 88 | </xsd:choice> | 88 | </xsd:choice> |
| 89 | </xsd:group> | 89 | </xsd:group> |
| 90 | 90 | ||
| 91 | <xsd:group name="ANmarker"> | 91 | <xsd:group name="ANmarker"> |
| 92 | <xsd:choice> | 92 | <xsd:choice> |
| 93 | <xsd:element ref="noteref"/> | 93 | <xsd:element ref="noteref"/> |
| 94 | <xsd:element ref="recordedTime"/> | 94 | <xsd:element ref="recordedTime"/> |
| 95 | <xsd:element ref="eol"/> | 95 | <xsd:element ref="eol"/> |
| 96 | <xsd:element ref="eop"/> | 96 | <xsd:element ref="eop"/> |
| 97 | </xsd:choice> | 97 | </xsd:choice> |
| 98 | </xsd:group> | 98 | </xsd:group> |
| 99 | 99 | ||
| 100 | <xsd:group name="HTMLcontainers"> | 100 | <xsd:group name="HTMLcontainers"> |
| 101 | <xsd:sequence> | 101 | <xsd:sequence> |
| 102 | <xsd:element ref="div"/> | 102 | <xsd:element ref="div"/> |
| 103 | </xsd:sequence> | 103 | </xsd:sequence> |
| 104 | </xsd:group> | 104 | </xsd:group> |
| 105 | 105 | ||
| 106 | <xsd:group name="HTMLblock"> | 106 | <xsd:group name="HTMLblock"> |
| 107 | <xsd:choice> | 107 | <xsd:choice> |
| 108 | <xsd:element ref="p"/> | 108 | <xsd:element ref="p"/> |
| 109 | <xsd:element ref="ul"/> | 109 | <xsd:element ref="ul"/> |
| 110 | <xsd:element ref="ol"/> | 110 | <xsd:element ref="ol"/> |
| 111 | <xsd:element ref="table"/> | 111 | <xsd:element ref="table"/> |
| 112 | </xsd:choice> | 112 | </xsd:choice> |
| 113 | </xsd:group> | 113 | </xsd:group> |
| 114 | 114 | ||
| 115 | <xsd:group name="HTMLinline"> | 115 | <xsd:group name="HTMLinline"> |
| 116 | <xsd:choice> | 116 | <xsd:choice> |
| 117 | <xsd:element ref="span"/> | 117 | <xsd:element ref="span"/> |
| 118 | <xsd:element ref="b"/> | 118 | <xsd:element ref="b"/> |
| 119 | <xsd:element ref="i"/> | 119 | <xsd:element ref="i"/> |
| 120 | <xsd:element ref="a"/> | 120 | <xsd:element ref="a"/> |
| 121 | </xsd:choice> | 121 | </xsd:choice> |
| 122 | </xsd:group> | 122 | </xsd:group> |
| 123 | 123 | ||
| 124 | <xsd:group name="HTMLmarker"> | 124 | <xsd:group name="HTMLmarker"> |
| 125 | <xsd:sequence> | 125 | <xsd:sequence> |
| 126 | <xsd:element ref="img"/> | 126 | <xsd:element ref="img"/> |
| 127 | </xsd:sequence> | 127 | </xsd:sequence> |
| 128 | </xsd:group> | 128 | </xsd:group> |
| 129 | 129 | ||
| 130 | <xsd:group name="hierElements"> | 130 | <xsd:group name="hierElements"> |
| 131 | <xsd:choice> | 131 | <xsd:choice> |
| 132 | <xsd:group ref="ANhier" /> | 132 | <xsd:group ref="ANhier" /> |
| 133 | <xsd:element ref="hcontainer"/> | 133 | <xsd:element ref="hcontainer"/> |
| 134 | </xsd:choice> | 134 | </xsd:choice> |
| 135 | </xsd:group> | 135 | </xsd:group> |
| 136 | 136 | ||
| 137 | <xsd:group name="containerElements"> | 137 | <xsd:group name="containerElements"> |
| 138 | <xsd:choice> | 138 | <xsd:choice> |
| 139 | <xsd:group ref="HTMLcontainers" /> | 139 | <xsd:group ref="HTMLcontainers" /> |
| 140 | <xsd:element ref="container"/> | 140 | <xsd:element ref="container"/> |
| 141 | </xsd:choice> | 141 | </xsd:choice> |
| 142 | </xsd:group> | 142 | </xsd:group> |
| 143 | 143 | ||
| 144 | <xsd:group name="blockElements"> | 144 | <xsd:group name="blockElements"> |
| 145 | <xsd:choice> | 145 | <xsd:choice> |
| 146 | <xsd:group ref="ANblock" /> | 146 | <xsd:group ref="ANblock" /> |
| 147 | <xsd:group ref="HTMLblock" /> | 147 | <xsd:group ref="HTMLblock" /> |
| 148 | <xsd:element ref="block"/> | 148 | <xsd:element ref="block"/> |
| 149 | <xsd:element ref="foreign"/> | 149 | <xsd:element ref="foreign"/> |
| 150 | </xsd:choice> | 150 | </xsd:choice> |
| 151 | </xsd:group> | 151 | </xsd:group> |
| 152 | 152 | ||
| 153 | <xsd:group name="inlineElements"> | 153 | <xsd:group name="inlineElements"> |
| 154 | <xsd:choice> | 154 | <xsd:choice> |
| 155 | <xsd:group ref="ANinline" /> | 155 | <xsd:group ref="ANinline" /> |
| 156 | <xsd:group ref="HTMLinline" /> | 156 | <xsd:group ref="HTMLinline" /> |
| 157 | <xsd:element ref="inline"/> | 157 | <xsd:element ref="inline"/> |
| 158 | <xsd:group ref="ANtitleInline" /> | 158 | <xsd:group ref="ANtitleInline" /> |
| 159 | </xsd:choice> | 159 | </xsd:choice> |
| 160 | </xsd:group> | 160 | </xsd:group> |
| 161 | 161 | ||
| 162 | <xsd:group name="markerElements"> | 162 | <xsd:group name="markerElements"> |
| 163 | <xsd:choice> | 163 | <xsd:choice> |
| 164 | <xsd:group ref="ANmarker" /> | 164 | <xsd:group ref="ANmarker" /> |
| 165 | <xsd:group ref="HTMLmarker" /> | 165 | <xsd:group ref="HTMLmarker" /> |
| 166 | <xsd:element ref="marker"/> | 166 | <xsd:element ref="marker"/> |
| 167 | </xsd:choice> | 167 | </xsd:choice> |
| 168 | </xsd:group> | 168 | </xsd:group> |
| 169 | 169 | ||
| 170 | <xsd:group name="InlineCM"> | ||
| 171 | <xsd:choice> | ||
| 172 | <xsd:group ref="inlineElements" /> | ||
| 173 | <xsd:group ref="markerElements" /> | ||
| 174 | </xsd:choice> | ||
| 175 | </xsd:group> | ||
| 176 | |||
| 170 | <xsd:group name="speechItems"> | 177 | <xsd:group name="speechItems"> |
| 171 | <xsd:choice> | 178 | <xsd:choice> |
| 172 | <xsd:element ref="speech"/> | 179 | <xsd:element ref="speech"/> |
| 173 | <xsd:element ref="question"/> | 180 | <xsd:element ref="question"/> |
| 174 | <xsd:element ref="answer"/> | 181 | <xsd:element ref="answer"/> |
| 175 | <xsd:element ref="other"/> | 182 | <xsd:element ref="other"/> |
| 176 | <xsd:element ref="comment"/> | 183 | <xsd:element ref="comment"/> |
| 177 | </xsd:choice> | 184 | </xsd:choice> |
| 178 | </xsd:group> | 185 | </xsd:group> |
| 179 | 186 | ||
| 180 | <xsd:annotation> | 187 | <xsd:annotation> |
| 181 | <xsd:documentation> | 188 | <xsd:documentation> |
| 182 | ===================================================================== | 189 | ===================================================================== |
| 183 | 190 | ||
| 184 | Attribute groups | 191 | Attribute groups |
| 185 | 192 | ||
| 186 | ===================================================================== | 193 | ===================================================================== |
| 187 | </xsd:documentation> | 194 | </xsd:documentation> |
| 188 | </xsd:annotation> | 195 | </xsd:annotation> |
| 189 | 196 | ||
| 190 | <xsd:attributeGroup name="name"> | 197 | <xsd:attributeGroup name="name"> |
| 191 | <xsd:attribute name="name" type="xsd:string" use="required"/> | 198 | <xsd:attribute name="name" type="xsd:string" use="required"/> |
| 192 | </xsd:attributeGroup> | 199 | </xsd:attributeGroup> |
| 193 | 200 | ||
| 194 | <xsd:attributeGroup name="source"> | 201 | <xsd:attributeGroup name="source"> |
| 195 | <xsd:attribute name="source" type="xsd:anyURI" use="required"/> | 202 | <xsd:attribute name="source" type="xsd:anyURI" use="required"/> |
| 196 | </xsd:attributeGroup> | 203 | </xsd:attributeGroup> |
| 197 | 204 | ||
| 198 | <xsd:attributeGroup name="date"> | 205 | <xsd:attributeGroup name="date"> |
| 199 | <xsd:attribute name="date" type="xsd:date" use="required"/> | 206 | <xsd:attribute name="date" type="xsd:date" use="required"/> |
| 200 | </xsd:attributeGroup> | 207 | </xsd:attributeGroup> |
| 201 | 208 | ||
| 202 | <xsd:attributeGroup name="time"> | 209 | <xsd:attributeGroup name="time"> |
| 203 | <xsd:attribute name="time" type="xsd:time" use="required"/> | 210 | <xsd:attribute name="time" type="xsd:time" use="required"/> |
| 204 | </xsd:attributeGroup> | 211 | </xsd:attributeGroup> |
| 205 | 212 | ||
| 206 | <xsd:attributeGroup name="link"> | 213 | <xsd:attributeGroup name="link"> |
| 207 | <xsd:attribute name="href" type="xsd:anyURI" use="required"/> | 214 | <xsd:attribute name="href" type="xsd:anyURI" use="required"/> |
| 208 | </xsd:attributeGroup> | 215 | </xsd:attributeGroup> |
| 209 | 216 | ||
| 210 | <xsd:attributeGroup name="value"> | 217 | <xsd:attributeGroup name="value"> |
| 211 | <xsd:attribute name="value" type="xsd:string" use="required"/> | 218 | <xsd:attribute name="value" type="xsd:string" use="required"/> |
| 212 | </xsd:attributeGroup> | 219 | </xsd:attributeGroup> |
| 213 | 220 | ||
| 214 | <xsd:attributeGroup name="optvalue"> | 221 | <xsd:attributeGroup name="optvalue"> |
| 215 | <xsd:attribute name="value" type="xsd:string"/> | 222 | <xsd:attribute name="value" type="xsd:string"/> |
| 216 | </xsd:attributeGroup> | 223 | </xsd:attributeGroup> |
| 217 | 224 | ||
| 218 | <xsd:attributeGroup name="speechAtts"> | 225 | <xsd:attributeGroup name="speechAtts"> |
| 219 | <xsd:attribute name="by" type="xsd:anyURI" use="required"/> | 226 | <xsd:attribute name="by" type="xsd:anyURI" use="required"/> |
| 220 | <xsd:attribute name="as" type="xsd:anyURI"/> | 227 | <xsd:attribute name="as" type="xsd:anyURI"/> |
| 221 | <xsd:attribute name="to" type="xsd:anyURI"/> | 228 | <xsd:attribute name="to" type="xsd:anyURI"/> |
| 222 | </xsd:attributeGroup> | 229 | </xsd:attributeGroup> |
| 223 | 230 | ||
| 224 | <xsd:attributeGroup name="show"> | 231 | <xsd:attributeGroup name="show"> |
| 225 | <xsd:attribute name="showAs" type="xsd:string" use="required"/> | 232 | <xsd:attribute name="showAs" type="xsd:string" use="required"/> |
| 226 | <xsd:attribute name="shortForm" type="xsd:string"/> | 233 | <xsd:attribute name="shortForm" type="xsd:string"/> |
| 227 | </xsd:attributeGroup> | 234 | </xsd:attributeGroup> |
| 228 | 235 | ||
| 229 | <xsd:attributeGroup name="period"> | 236 | <xsd:attributeGroup name="period"> |
| 230 | <xsd:attribute name="start" type="xsd:anyURI"/> | 237 | <xsd:attribute name="start" type="xsd:anyURI"/> |
| 231 | <xsd:attribute name="end" type="xsd:anyURI"/> | 238 | <xsd:attribute name="end" type="xsd:anyURI"/> |
| 232 | <xsd:attribute name="startEfficacy" type="xsd:anyURI"/> | 239 | <xsd:attribute name="startEfficacy" type="xsd:anyURI"/> |
| 233 | <xsd:attribute name="endEfficacy" type="xsd:anyURI"/> | 240 | <xsd:attribute name="endEfficacy" type="xsd:anyURI"/> |
| 234 | </xsd:attributeGroup> | 241 | </xsd:attributeGroup> |
| 235 | 242 | ||
| 236 | <xsd:attributeGroup name="enactment"> | 243 | <xsd:attributeGroup name="enactment"> |
| 237 | <xsd:attributeGroup ref="period"/> | 244 | <xsd:attributeGroup ref="period"/> |
| 238 | <xsd:attribute name="status" type="statusType"/> | 245 | <xsd:attribute name="status" type="statusType"/> |
| 239 | </xsd:attributeGroup> | 246 | </xsd:attributeGroup> |
| 240 | 247 | ||
| 241 | <xsd:attributeGroup name="modifiers"> | 248 | <xsd:attributeGroup name="modifiers"> |
| 242 | <xsd:attribute name="exclusion" type="xsd:boolean"/> | 249 | <xsd:attribute name="exclusion" type="xsd:boolean"/> |
| 243 | <xsd:attribute name="incomplete" type="xsd:boolean"/> | 250 | <xsd:attribute name="incomplete" type="xsd:boolean"/> |
| 244 | </xsd:attributeGroup> | 251 | </xsd:attributeGroup> |
| 245 | 252 | ||
| 246 | <xsd:attributeGroup name="cellattrs"> | 253 | <xsd:attributeGroup name="cellattrs"> |
| 247 | <xsd:attribute name="rowspan" type="xsd:integer" default="1" /> | 254 | <xsd:attribute name="rowspan" type="xsd:integer" default="1" /> |
| 248 | <xsd:attribute name="colspan" type="xsd:integer" default="1" /> | 255 | <xsd:attribute name="colspan" type="xsd:integer" default="1" /> |
| 249 | </xsd:attributeGroup> | 256 | </xsd:attributeGroup> |
| 250 | 257 | ||
| 251 | <xsd:attributeGroup name="HTMLattrs"> | 258 | <xsd:attributeGroup name="HTMLattrs"> |
| 252 | <xsd:attribute name="class" type="xsd:string"/> | 259 | <xsd:attribute name="class" type="xsd:string"/> |
| 253 | <xsd:attribute name="style" type="xsd:string"/> | 260 | <xsd:attribute name="style" type="xsd:string"/> |
| 254 | <xsd:attribute name="title" type="xsd:string"/> | 261 | <xsd:attribute name="title" type="xsd:string"/> |
| 255 | </xsd:attributeGroup> | 262 | </xsd:attributeGroup> |
| 256 | 263 | ||
| 257 | <xsd:attributeGroup name="idreq"> | 264 | <xsd:attributeGroup name="idreq"> |
| 258 | <xsd:attribute name="id" type="xsd:ID" use="required"/> | 265 | <xsd:attribute name="id" type="xsd:ID" use="required"/> |
| 259 | </xsd:attributeGroup> | 266 | </xsd:attributeGroup> |
| 260 | 267 | ||
| 261 | <xsd:attributeGroup name="idopt"> | 268 | <xsd:attributeGroup name="idopt"> |
| 262 | <xsd:attribute name="id" type="xsd:ID"/> | 269 | <xsd:attribute name="id" type="xsd:ID"/> |
| 263 | </xsd:attributeGroup> | 270 | </xsd:attributeGroup> |
| 264 | 271 | ||
| 265 | <xsd:attributeGroup name="corereq"> | 272 | <xsd:attributeGroup name="corereq"> |
| 266 | <xsd:attributeGroup ref="HTMLattrs"/> | 273 | <xsd:attributeGroup ref="HTMLattrs"/> |
| 267 | <xsd:attributeGroup ref="enactment"/> | 274 | <xsd:attributeGroup ref="enactment"/> |
| 268 | <xsd:attributeGroup ref="idreq"/> | 275 | <xsd:attributeGroup ref="idreq"/> |
| 269 | </xsd:attributeGroup> | 276 | </xsd:attributeGroup> |
| 270 | 277 | ||
| 271 | <xsd:attributeGroup name="coreopt"> | 278 | <xsd:attributeGroup name="coreopt"> |
| 272 | <xsd:attributeGroup ref="HTMLattrs"/> | 279 | <xsd:attributeGroup ref="HTMLattrs"/> |
| 273 | <xsd:attributeGroup ref="enactment"/> | 280 | <xsd:attributeGroup ref="enactment"/> |
| 274 | <xsd:attributeGroup ref="idopt"/> | 281 | <xsd:attributeGroup ref="idopt"/> |
| 275 | </xsd:attributeGroup> | 282 | </xsd:attributeGroup> |
| 276 | 283 | ||
| 277 | <xsd:annotation> | 284 | <xsd:annotation> |
| 278 | <xsd:documentation> | 285 | <xsd:documentation> |
| 279 | ===================================================================== | 286 | ===================================================================== |
| 280 | 287 | ||
| 281 | Simple types (data values) | 288 | Simple types (data values) |
| 282 | 289 | ||
| 283 | ===================================================================== | 290 | ===================================================================== |
| 284 | </xsd:documentation> | 291 | </xsd:documentation> |
| 285 | </xsd:annotation> | 292 | </xsd:annotation> |
| 286 | 293 | ||
| 287 | <xsd:simpleType name="VersionType" > | 294 | <xsd:simpleType name="VersionType" > |
| 288 | <xsd:restriction base="xsd:string"> | 295 | <xsd:restriction base="xsd:string"> |
| 289 | <xsd:enumeration value="OriginalVersion" /> | 296 | <xsd:enumeration value="OriginalVersion" /> |
| 290 | <xsd:enumeration value="SingleVersion" /> | 297 | <xsd:enumeration value="SingleVersion" /> |
| 291 | <xsd:enumeration value="MultipleVersions" /> | 298 | <xsd:enumeration value="MultipleVersions" /> |
| 292 | </xsd:restriction> | 299 | </xsd:restriction> |
| 293 | </xsd:simpleType> | 300 | </xsd:simpleType> |
| 294 | 301 | ||
| 295 | <xsd:simpleType name="EventType" > | 302 | <xsd:simpleType name="EventType" > |
| 296 | <xsd:restriction base="xsd:string"> | 303 | <xsd:restriction base="xsd:string"> |
| 297 | <xsd:enumeration value="Generation" /> | 304 | <xsd:enumeration value="Generation" /> |
| 298 | <xsd:enumeration value="Amendment" /> | 305 | <xsd:enumeration value="Amendment" /> |
| 299 | <xsd:enumeration value="Repeal" /> | 306 | <xsd:enumeration value="Repeal" /> |
| 300 | </xsd:restriction> | 307 | </xsd:restriction> |
| 301 | </xsd:simpleType> | 308 | </xsd:simpleType> |
| 302 | 309 | ||
| 303 | <xsd:simpleType name="statusType" > | 310 | <xsd:simpleType name="statusType" > |
| 304 | <xsd:restriction base="xsd:string"> | 311 | <xsd:restriction base="xsd:string"> |
| 305 | <xsd:enumeration value="omissis" /> | 312 | <xsd:enumeration value="omissis" /> |
| 306 | <xsd:enumeration value="repealed" /> | 313 | <xsd:enumeration value="repealed" /> |
| 307 | <xsd:enumeration value="suspended" /> | 314 | <xsd:enumeration value="suspended" /> |
| 308 | </xsd:restriction> | 315 | </xsd:restriction> |
| 309 | </xsd:simpleType> | 316 | </xsd:simpleType> |
| 310 | 317 | ||
| 311 | <xsd:annotation> | 318 | <xsd:annotation> |
| 312 | <xsd:documentation> | 319 | <xsd:documentation> |
| 313 | ===================================================================== | 320 | ===================================================================== |
| 314 | 321 | ||
| 315 | Complex types (markup structures) | 322 | Complex types (markup structures) |
| 316 | 323 | ||
| 317 | ===================================================================== | 324 | ===================================================================== |
| 318 | </xsd:documentation> | 325 | </xsd:documentation> |
| 319 | </xsd:annotation> | 326 | </xsd:annotation> |
| 320 | 327 | ||
| 321 | <xsd:complexType name="basehierarchy" > | 328 | <xsd:complexType name="basehierarchy" > |
| 322 | <xsd:sequence > | 329 | <xsd:sequence > |
| 323 | <xsd:element ref="num" minOccurs="0" maxOccurs="1" /> | 330 | <xsd:element ref="num" minOccurs="0" maxOccurs="1" /> |
| 324 | <xsd:element ref="title" minOccurs="0" maxOccurs="1" /> | 331 | <xsd:element ref="title" minOccurs="0" maxOccurs="1" /> |
| 325 | <xsd:element ref="subtitle" minOccurs="0" maxOccurs="1" /> | 332 | <xsd:element ref="subtitle" minOccurs="0" maxOccurs="1" /> |
| 326 | <xsd:element ref="sidenote" minOccurs="0" maxOccurs="1" /> | 333 | <xsd:element ref="sidenote" minOccurs="0" maxOccurs="1" /> |
| 327 | </xsd:sequence> | 334 | </xsd:sequence> |
| 328 | </xsd:complexType> | 335 | </xsd:complexType> |
| 329 | 336 | ||
| 330 | <xsd:complexType name="hierarchy" > | 337 | <xsd:complexType name="hierarchy" > |
| 331 | <xsd:complexContent> | 338 | <xsd:complexContent> |
| 332 | <xsd:extension base="basehierarchy"> | 339 | <xsd:extension base="basehierarchy"> |
| 333 | <xsd:sequence > | 340 | <xsd:sequence > |
| 334 | <xsd:group ref="hierElements" minOccurs="1" maxOccurs="unbounded" /> | 341 | <xsd:group ref="hierElements" minOccurs="1" maxOccurs="unbounded" /> |
| 335 | </xsd:sequence> | 342 | </xsd:sequence> |
| 336 | <xsd:attributeGroup ref="corereq"/> | 343 | <xsd:attributeGroup ref="corereq"/> |
| 337 | </xsd:extension> | 344 | </xsd:extension> |
| 338 | </xsd:complexContent> | 345 | </xsd:complexContent> |
| 339 | </xsd:complexType> | 346 | </xsd:complexType> |
| 340 | 347 | ||
| 341 | <xsd:complexType name="althierarchy" > | 348 | <xsd:complexType name="althierarchy" > |
| 342 | <xsd:complexContent> | 349 | <xsd:complexContent> |
| 343 | <xsd:extension base="basehierarchy"> | 350 | <xsd:extension base="basehierarchy"> |
| 344 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > | 351 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > |
| 345 | <xsd:element ref="subdivision" /> | 352 | <xsd:element ref="subdivision" /> |
| 346 | <xsd:group ref="speechItems" /> | 353 | <xsd:group ref="speechItems" /> |
| 347 | </xsd:choice> | 354 | </xsd:choice> |
| 348 | <xsd:attributeGroup ref="corereq"/> | 355 | <xsd:attributeGroup ref="corereq"/> |
| 349 | </xsd:extension> | 356 | </xsd:extension> |
| 350 | </xsd:complexContent> | 357 | </xsd:complexContent> |
| 351 | </xsd:complexType> | 358 | </xsd:complexType> |
| 352 | 359 | ||
| 353 | <xsd:complexType name="articleType" > | 360 | <xsd:complexType name="articleType" > |
| 354 | <xsd:complexContent> | 361 | <xsd:complexContent> |
| 355 | <xsd:extension base="basehierarchy"> | 362 | <xsd:extension base="basehierarchy"> |
| 356 | <xsd:sequence > | 363 | <xsd:sequence > |
| 357 | <xsd:element ref="clause" minOccurs="1" maxOccurs="unbounded" /> | 364 | <xsd:element ref="clause" minOccurs="1" maxOccurs="unbounded" /> |
| 358 | </xsd:sequence> | 365 | </xsd:sequence> |
| 359 | <xsd:attributeGroup ref="corereq"/> | 366 | <xsd:attributeGroup ref="corereq"/> |
| 360 | </xsd:extension> | 367 | </xsd:extension> |
| 361 | </xsd:complexContent> | 368 | </xsd:complexContent> |
| 362 | </xsd:complexType> | 369 | </xsd:complexType> |
| 363 | 370 | ||
| 364 | <xsd:complexType name="clauseType" > | 371 | <xsd:complexType name="clauseType" > |
| 365 | <xsd:complexContent> | 372 | <xsd:complexContent> |
| 366 | <xsd:extension base="basehierarchy"> | 373 | <xsd:extension base="basehierarchy"> |
| 367 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > | 374 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > |
| 368 | <xsd:group ref="blockElements" /> | 375 | <xsd:group ref="blockElements" /> |
| 369 | </xsd:sequence> | 376 | </xsd:sequence> |
| 370 | <xsd:attributeGroup ref="corereq"/> | 377 | <xsd:attributeGroup ref="corereq"/> |
| 371 | </xsd:extension> | 378 | </xsd:extension> |
| 372 | </xsd:complexContent> | 379 | </xsd:complexContent> |
| 373 | </xsd:complexType> | 380 | </xsd:complexType> |
| 374 | 381 | ||
| 375 | <xsd:complexType name="blocksreq" > | 382 | <xsd:complexType name="blocksreq" > |
| 376 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > | 383 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > |
| 377 | <xsd:group ref="blockElements" /> | 384 | <xsd:group ref="blockElements" /> |
| 378 | </xsd:sequence> | 385 | </xsd:sequence> |
| 379 | <xsd:attributeGroup ref="corereq"/> | 386 | <xsd:attributeGroup ref="corereq"/> |
| 380 | </xsd:complexType> | 387 | </xsd:complexType> |
| 381 | 388 | ||
| 382 | <xsd:complexType name="blocksopt" > | 389 | <xsd:complexType name="blocksopt" > |
| 383 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > | 390 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > |
| 384 | <xsd:group ref="blockElements" /> | 391 | <xsd:group ref="blockElements" /> |
| 385 | </xsd:sequence> | 392 | </xsd:sequence> |
| 386 | <xsd:attributeGroup ref="coreopt"/> | 393 | <xsd:attributeGroup ref="coreopt"/> |
| 387 | </xsd:complexType> | 394 | </xsd:complexType> |
| 388 | 395 | ||
| 389 | <xsd:complexType name="inline" mixed="true"> | 396 | <xsd:complexType name="inline" mixed="true"> |
| 390 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > | 397 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > |
| 391 | <xsd:group ref="inlineElements" /> | 398 | <xsd:group ref="InlineCM" /> |
| 392 | <xsd:group ref="markerElements" /> | ||
| 393 | </xsd:choice> | 399 | </xsd:choice> |
| 394 | <xsd:attributeGroup ref="coreopt"/> | 400 | <xsd:attributeGroup ref="coreopt"/> |
| 395 | </xsd:complexType> | 401 | </xsd:complexType> |
| 396 | 402 | ||
| 397 | <xsd:complexType name="markerreq" > | 403 | <xsd:complexType name="markerreq" > |
| 398 | <xsd:attributeGroup ref="corereq"/> | 404 | <xsd:attributeGroup ref="corereq"/> |
| 399 | </xsd:complexType> | 405 | </xsd:complexType> |
| 400 | 406 | ||
| 401 | <xsd:complexType name="markeropt" > | 407 | <xsd:complexType name="markeropt" > |
| 402 | <xsd:attributeGroup ref="coreopt"/> | 408 | <xsd:attributeGroup ref="coreopt"/> |
| 403 | </xsd:complexType> | 409 | </xsd:complexType> |
| 404 | 410 | ||
| 405 | <xsd:complexType name="metareq" > | 411 | <xsd:complexType name="metareq" > |
| 406 | <xsd:attributeGroup ref="idreq"/> | 412 | <xsd:attributeGroup ref="idreq"/> |
| 407 | </xsd:complexType> | 413 | </xsd:complexType> |
| 408 | 414 | ||
| 409 | <xsd:complexType name="metaopt" > | 415 | <xsd:complexType name="metaopt" > |
| 410 | <xsd:attributeGroup ref="idopt"/> | 416 | <xsd:attributeGroup ref="idopt"/> |
| 411 | </xsd:complexType> | 417 | </xsd:complexType> |
| 412 | 418 | ||
| 413 | <xsd:complexType name="anyOther" > | 419 | <xsd:complexType name="anyOther" > |
| 414 | <xsd:choice> | 420 | <xsd:choice> |
| 415 | <xsd:any namespace="##other"/> | 421 | <xsd:any namespace="##other"/> |
| 416 | </xsd:choice> | 422 | </xsd:choice> |
| 417 | </xsd:complexType> | 423 | </xsd:complexType> |
| 418 | 424 | ||
| 419 | <xsd:complexType name="speechType" > | 425 | <xsd:complexType name="speechType" > |
| 420 | <xsd:sequence > | 426 | <xsd:sequence > |
| 421 | <xsd:element ref="from" /> | 427 | <xsd:element ref="from" /> |
| 422 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > | 428 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > |
| 423 | <xsd:group ref="blockElements" /> | 429 | <xsd:group ref="blockElements" /> |
| 424 | </xsd:sequence> | 430 | </xsd:sequence> |
| 425 | </xsd:sequence> | 431 | </xsd:sequence> |
| 426 | <xsd:attributeGroup ref="coreopt"/> | 432 | <xsd:attributeGroup ref="coreopt"/> |
| 427 | <xsd:attributeGroup ref="speechAtts"/> | 433 | <xsd:attributeGroup ref="speechAtts"/> |
| 428 | </xsd:complexType> | 434 | </xsd:complexType> |
| 429 | 435 | ||
| 430 | <xsd:complexType name="referenceType" > | 436 | <xsd:complexType name="referenceType" > |
| 431 | <xsd:attributeGroup ref="idreq"/> | 437 | <xsd:attributeGroup ref="idreq"/> |
| 432 | <xsd:attributeGroup ref="link"/> | 438 | <xsd:attributeGroup ref="link"/> |
| 433 | <xsd:attributeGroup ref="show"/> | 439 | <xsd:attributeGroup ref="show"/> |
| 434 | </xsd:complexType> | 440 | </xsd:complexType> |
| 435 | 441 | ||
| 436 | <xsd:complexType name="argumentType" > | 442 | <xsd:complexType name="argumentType" > |
| 437 | <xsd:attributeGroup ref="idopt"/> | 443 | <xsd:attributeGroup ref="idopt"/> |
| 438 | <xsd:attributeGroup ref="link"/> | 444 | <xsd:attributeGroup ref="link"/> |
| 439 | <xsd:attribute name="upTo" type="xsd:anyURI"/> | 445 | <xsd:attribute name="upTo" type="xsd:anyURI"/> |
| 440 | </xsd:complexType> | 446 | </xsd:complexType> |
| 441 | 447 | ||
| 442 | <xsd:complexType name="periodType" > | 448 | <xsd:complexType name="periodType" > |
| 443 | <xsd:attributeGroup ref="idopt"/> | 449 | <xsd:attributeGroup ref="idopt"/> |
| 444 | <xsd:attributeGroup ref="period"/> | 450 | <xsd:attributeGroup ref="period"/> |
| 445 | </xsd:complexType> | 451 | </xsd:complexType> |
| 446 | 452 | ||
| 447 | <xsd:annotation> | 453 | <xsd:annotation> |
| 448 | <xsd:documentation> | 454 | <xsd:documentation> |
| 449 | ===================================================================== | 455 | ===================================================================== |
| 450 | 456 | ||
| 451 | Root element | 457 | Root element |
| 452 | Comment: One generic root element contains all document elements | 458 | Comment: One generic root element contains all document elements |
| 453 | Pattern: Universal Root | 459 | Pattern: Universal Root |
| 454 | Reference: http://www.xmlpatterns.com/UniversalRootMain.shtml | 460 | Reference: http://www.xmlpatterns.com/UniversalRootMain.shtml |
| 455 | 461 | ||
| 456 | ===================================================================== | 462 | ===================================================================== |
| 457 | </xsd:documentation> | 463 | </xsd:documentation> |
| 458 | </xsd:annotation> | 464 | </xsd:annotation> |
| 459 | 465 | ||
| 460 | <xsd:complexType name="DocumentTypes" > | 466 | <xsd:complexType name="DocumentTypes" > |
| 461 | <xsd:choice > | 467 | <xsd:choice > |
| 462 | <xsd:element ref="act" /> | 468 | <xsd:element ref="act" /> |
| 463 | <xsd:element ref="bill" /> | 469 | <xsd:element ref="bill" /> |
| 464 | <xsd:element ref="doc" /> | 470 | <xsd:element ref="doc" /> |
| 465 | <xsd:element ref="report" /> | 471 | <xsd:element ref="report" /> |
| 466 | <xsd:element ref="debaterecord" /> | 472 | <xsd:element ref="debaterecord" /> |
| 467 | </xsd:choice> | 473 | </xsd:choice> |
| 468 | </xsd:complexType> | 474 | </xsd:complexType> |
| 469 | 475 | ||
| 470 | <xsd:element name="akomantoso" type="DocumentTypes" /> | 476 | <xsd:element name="akomantoso" type="DocumentTypes" /> |
| 471 | 477 | ||
| 472 | <xsd:annotation> | 478 | <xsd:annotation> |
| 473 | <xsd:documentation> | 479 | <xsd:documentation> |
| 474 | ===================================================================== | 480 | ===================================================================== |
| 475 | 481 | ||
| 476 | Document elements | 482 | Document elements |
| 477 | Comment: All document elements share just two content models | 483 | Comment: All document elements share just two content models |
| 478 | Pattern: Consistent Element Set | 484 | Pattern: Consistent Element Set |
| 479 | Reference: http://www.xmlpatterns.com/ConsistentElementSetMain.shtml | 485 | Reference: http://www.xmlpatterns.com/ConsistentElementSetMain.shtml |
| 480 | 486 | ||
| 481 | ===================================================================== | 487 | ===================================================================== |
| 482 | </xsd:documentation> | 488 | </xsd:documentation> |
| 483 | </xsd:annotation> | 489 | </xsd:annotation> |
| 484 | 490 | ||
| 485 | <xsd:complexType name="HierarchicalStructure" > | 491 | <xsd:complexType name="HierarchicalStructure" > |
| 486 | <xsd:sequence > | 492 | <xsd:sequence > |
| 487 | <xsd:element ref="meta" /> | 493 | <xsd:element ref="meta" /> |
| 488 | <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> | 494 | <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> |
| 489 | <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" /> | 495 | <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" /> |
| 490 | <xsd:element ref="clauses" /> | 496 | <xsd:element ref="clauses" /> |
| 491 | <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> | 497 | <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> |
| 492 | <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> | 498 | <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> |
| 493 | </xsd:sequence> | 499 | </xsd:sequence> |
| 494 | <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> | 500 | <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> |
| 495 | </xsd:complexType> | 501 | </xsd:complexType> |
| 496 | 502 | ||
| 497 | <xsd:complexType name="OpenStructure" > | 503 | <xsd:complexType name="OpenStructure" > |
| 498 | <xsd:sequence > | 504 | <xsd:sequence > |
| 499 | <xsd:element ref="meta" /> | 505 | <xsd:element ref="meta" /> |
| 500 | <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> | 506 | <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> |
| 501 | <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" /> | 507 | <xsd:element ref="preamble" minOccurs="0" maxOccurs="1" /> |
| 502 | <xsd:element ref="maincontent" /> | 508 | <xsd:element ref="maincontent" /> |
| 503 | <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> | 509 | <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> |
| 504 | <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> | 510 | <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> |
| 505 | </xsd:sequence> | 511 | </xsd:sequence> |
| 506 | <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> | 512 | <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> |
| 507 | </xsd:complexType> | 513 | </xsd:complexType> |
| 508 | 514 | ||
| 509 | <xsd:complexType name="DebateStructure" > | 515 | <xsd:complexType name="DebateStructure" > |
| 510 | <xsd:sequence > | 516 | <xsd:sequence > |
| 511 | <xsd:element ref="meta" /> | 517 | <xsd:element ref="meta" /> |
| 512 | <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> | 518 | <xsd:element ref="preface" minOccurs="0" maxOccurs="1" /> |
| 513 | <xsd:element ref="debate" /> | 519 | <xsd:element ref="debate" /> |
| 514 | <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> | 520 | <xsd:element ref="conclusions" minOccurs="0" maxOccurs="1" /> |
| 515 | <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> | 521 | <xsd:element ref="attachments" minOccurs="0" maxOccurs="1" /> |
| 516 | </xsd:sequence> | 522 | </xsd:sequence> |
| 517 | <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> | 523 | <xsd:attribute name="contains" type="VersionType" default="OriginalVersion" /> |
| 518 | </xsd:complexType> | 524 | </xsd:complexType> |
| 519 | 525 | ||
| 520 | <xsd:element name="act" type="HierarchicalStructure" /> | 526 | <xsd:element name="act" type="HierarchicalStructure" /> |
| 521 | 527 | ||
| 522 | <xsd:element name="bill" type="HierarchicalStructure" /> | 528 | <xsd:element name="bill" type="HierarchicalStructure" /> |
| 523 | 529 | ||
| 524 | <xsd:element name="doc" type="OpenStructure" /> | 530 | <xsd:element name="doc" type="OpenStructure" /> |
| 525 | 531 | ||
| 526 | <xsd:element name="report" type="OpenStructure" /> | 532 | <xsd:element name="report" type="OpenStructure" /> |
| 527 | 533 | ||
| 528 | <xsd:element name="debaterecord" type="DebateStructure" /> | 534 | <xsd:element name="debaterecord" type="DebateStructure" /> |
| 529 | 535 | ||
| 530 | <xsd:annotation> | 536 | <xsd:annotation> |
| 531 | <xsd:documentation> | 537 | <xsd:documentation> |
| 532 | ===================================================================== | 538 | ===================================================================== |
| 533 | 539 | ||
| 534 | AN common containers elements | 540 | AN common containers elements |
| 535 | 541 | ||
| 536 | ===================================================================== | 542 | ===================================================================== |
| 537 | </xsd:documentation> | 543 | </xsd:documentation> |
| 538 | </xsd:annotation> | 544 | </xsd:annotation> |
| 539 | 545 | ||
| 540 | <xsd:element name="preface" type="blocksopt" /> | 546 | <xsd:element name="preface" type="blocksopt" /> |
| 541 | 547 | ||
| 542 | <xsd:element name="preamble" type="blocksopt" /> | 548 | <xsd:element name="preamble" type="blocksopt" /> |
| 543 | 549 | ||
| 544 | <xsd:element name="conclusions" type="blocksopt" /> | 550 | <xsd:element name="conclusions" type="blocksopt" /> |
| 545 | 551 | ||
| 546 | <xsd:element name="attachments" > | 552 | <xsd:element name="attachments" > |
| 547 | <xsd:complexType > | 553 | <xsd:complexType > |
| 548 | <xsd:sequence > | 554 | <xsd:sequence > |
| 549 | <xsd:element ref="attachment" minOccurs="1" maxOccurs="unbounded" /> | 555 | <xsd:element ref="attachment" minOccurs="1" maxOccurs="unbounded" /> |
| 550 | </xsd:sequence> | 556 | </xsd:sequence> |
| 551 | <xsd:attributeGroup ref="coreopt"/> | 557 | <xsd:attributeGroup ref="coreopt"/> |
| 552 | </xsd:complexType> | 558 | </xsd:complexType> |
| 553 | </xsd:element> | 559 | </xsd:element> |
| 554 | 560 | ||
| 555 | <xsd:element name="attachment" type="referenceType" /> | 561 | <xsd:element name="attachment" type="referenceType" /> |
| 556 | 562 | ||
| 557 | <xsd:element name="clauses" > | 563 | <xsd:element name="clauses" > |
| 558 | <xsd:complexType > | 564 | <xsd:complexType > |
| 559 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > | 565 | <xsd:sequence minOccurs="1" maxOccurs="unbounded" > |
| 560 | <xsd:group ref="hierElements" /> | 566 | <xsd:group ref="hierElements" /> |
| 561 | </xsd:sequence> | 567 | </xsd:sequence> |
| 562 | <xsd:attributeGroup ref="coreopt"/> | 568 | <xsd:attributeGroup ref="coreopt"/> |
| 563 | </xsd:complexType> | 569 | </xsd:complexType> |
| 564 | </xsd:element> | 570 | </xsd:element> |
| 565 | 571 | ||
| 566 | <xsd:element name="debate" > | 572 | <xsd:element name="debate" > |
| 567 | <xsd:complexType > | 573 | <xsd:complexType > |
| 568 | <xsd:sequence > | 574 | <xsd:sequence > |
| 569 | <xsd:element ref="subdivision" minOccurs="1" maxOccurs="unbounded" /> | 575 | <xsd:element ref="subdivision" minOccurs="1" maxOccurs="unbounded" /> |
| 570 | </xsd:sequence> | 576 | </xsd:sequence> |
| 571 | <xsd:attributeGroup ref="coreopt"/> | 577 | <xsd:attributeGroup ref="coreopt"/> |
| 572 | </xsd:complexType> | 578 | </xsd:complexType> |
| 573 | </xsd:element> | 579 | </xsd:element> |
| 574 | 580 | ||
| 575 | <xsd:element name="maincontent" > | 581 | <xsd:element name="maincontent" > |
| 576 | <xsd:complexType > | 582 | <xsd:complexType > |
| 577 | <xsd:choice minOccurs="1" maxOccurs="unbounded" > | 583 | <xsd:choice minOccurs="1" maxOccurs="unbounded" > |
| 578 | <xsd:group ref="hierElements" /> | 584 | <xsd:group ref="hierElements" /> |
| 579 | <xsd:element ref="subdivision" /> | 585 | <xsd:element ref="subdivision" /> |
| 580 | <xsd:group ref="blockElements" /> | 586 | <xsd:group ref="blockElements" /> |
| 581 | <xsd:group ref="containerElements" /> | 587 | <xsd:group ref="containerElements" /> |
| 582 | </xsd:choice> | 588 | </xsd:choice> |
| 583 | <xsd:attributeGroup ref="coreopt"/> | 589 | <xsd:attributeGroup ref="coreopt"/> |
| 584 | </xsd:complexType> | 590 | </xsd:complexType> |
| 585 | </xsd:element> | 591 | </xsd:element> |
| 586 | 592 | ||
| 587 | <xsd:annotation> | 593 | <xsd:annotation> |
| 588 | <xsd:documentation> | 594 | <xsd:documentation> |
| 589 | ===================================================================== | 595 | ===================================================================== |
| 590 | 596 | ||
| 591 | Elements for hierarchical documents | 597 | Elements for hierarchical documents |
| 592 | 598 | ||
| 593 | ===================================================================== | 599 | ===================================================================== |
| 594 | </xsd:documentation> | 600 | </xsd:documentation> |
| 595 | </xsd:annotation> | 601 | </xsd:annotation> |
| 596 | 602 | ||
| 597 | <xsd:element name="section" type="hierarchy" /> | 603 | <xsd:element name="section" type="hierarchy" /> |
| 598 | 604 | ||
| 599 | <xsd:element name="part" type="hierarchy" /> | 605 | <xsd:element name="part" type="hierarchy" /> |
| 600 | 606 | ||
| 601 | <xsd:element name="paragraph" type="hierarchy" /> | 607 | <xsd:element name="paragraph" type="hierarchy" /> |
| 602 | 608 | ||
| 603 | <xsd:element name="chapter" type="hierarchy" /> | 609 | <xsd:element name="chapter" type="hierarchy" /> |
| 604 | 610 | ||
| 605 | <xsd:element name="article" type="articleType" /> | 611 | <xsd:element name="article" type="articleType" /> |
| 606 | 612 | ||
| 607 | <xsd:element name="clause" type="clauseType" /> | 613 | <xsd:element name="clause" type="clauseType" /> |
| 608 | 614 | ||
| 609 | <xsd:element name="num" type="inline" /> | 615 | <xsd:element name="num" type="inline" /> |
| 610 | 616 | ||
| 611 | <xsd:element name="title" type="inline" /> | 617 | <xsd:element name="title" type="inline" /> |
| 612 | 618 | ||
| 613 | <xsd:element name="subtitle" type="inline" /> | 619 | <xsd:element name="subtitle" type="inline" /> |
| 614 | 620 | ||
| 615 | <xsd:element name="sidenote" type="inline" /> | 621 | <xsd:element name="sidenote" type="inline" /> |
| 616 | 622 | ||
| 617 | <xsd:element name="from" type="inline" /> | 623 | <xsd:element name="from" type="inline" /> |
| 618 | 624 | ||
| 619 | <xsd:annotation> | 625 | <xsd:annotation> |
| 620 | <xsd:documentation> | 626 | <xsd:documentation> |
| 621 | ===================================================================== | 627 | ===================================================================== |
| 622 | 628 | ||
| 623 | Elements for debates documents | 629 | Elements for debates documents |
| 624 | 630 | ||
| 625 | ===================================================================== | 631 | ===================================================================== |
| 626 | </xsd:documentation> | 632 | </xsd:documentation> |
| 627 | </xsd:annotation> | 633 | </xsd:annotation> |
| 628 | 634 | ||
| 629 | <xsd:element name="subdivision" type="althierarchy" /> | 635 | <xsd:element name="subdivision" type="althierarchy" /> |
| 630 | 636 | ||
| 631 | <xsd:element name="speech" type="speechType" /> | 637 | <xsd:element name="speech" type="speechType" /> |
| 632 | 638 | ||
| 633 | <xsd:element name="question" type="speechType" /> | 639 | <xsd:element name="question" type="speechType" /> |
| 634 | 640 | ||
| 635 | <xsd:element name="answer" type="speechType" /> | 641 | <xsd:element name="answer" type="speechType" /> |
| 636 | 642 | ||
| 637 | <xsd:element name="other" type="blocksopt" /> | 643 | <xsd:element name="other" type="blocksopt" /> |
| 638 | 644 | ||
| 639 | <xsd:element name="comment" type="inline" /> | 645 | <xsd:element name="comment" type="inline" /> |
| 640 | 646 | ||
| 641 | <xsd:element name="list" > | 647 | <xsd:element name="list" > |
| 642 | <xsd:complexType > | 648 | <xsd:complexType > |
| 643 | <xsd:sequence > | 649 | <xsd:sequence > |
| 644 | <xsd:element ref="item" minOccurs="1" maxOccurs="unbounded" /> | 650 | <xsd:element ref="item" minOccurs="1" maxOccurs="unbounded" /> |
| 645 | </xsd:sequence> | 651 | </xsd:sequence> |
| 646 | <xsd:attributeGroup ref="corereq"/> | 652 | <xsd:attributeGroup ref="corereq"/> |
| 647 | </xsd:complexType> | 653 | </xsd:complexType> |
| 648 | </xsd:element> | 654 | </xsd:element> |
| 649 | 655 | ||
| 650 | <xsd:element name="tblock" type="clauseType" /> | 656 | <xsd:element name="tblock" type="clauseType" /> |
| 651 | 657 | ||
| 652 | <xsd:element name="item" type="clauseType" /> | 658 | <xsd:element name="item" type="clauseType" /> |
| 653 | 659 | ||
| 654 | <xsd:annotation> | 660 | <xsd:annotation> |
| 655 | <xsd:documentation> | 661 | <xsd:documentation> |
| 656 | ===================================================================== | 662 | ===================================================================== |
| 657 | 663 | ||
| 658 | AN block elements | 664 | AN block elements |
| 659 | Comment: the only AN-specific block is the table of content (TOC), | 665 | Comment: the only AN-specific block is the table of content (TOC), |
| 660 | a structure containing toc items related to the various subparts of the | 666 | a structure containing toc items related to the various subparts of the |
| 661 | main document. | 667 | main document. |
| 662 | 668 | ||
| 663 | ===================================================================== | 669 | ===================================================================== |
| 664 | </xsd:documentation> | 670 | </xsd:documentation> |
| 665 | </xsd:annotation> | 671 | </xsd:annotation> |
| 666 | 672 | ||
| 667 | <xsd:element name="toc" > | 673 | <xsd:element name="toc" > |
| 668 | <xsd:complexType > | 674 | <xsd:complexType > |
| 669 | <xsd:sequence > | 675 | <xsd:sequence > |
| 670 | <xsd:element ref="tocitem" minOccurs="1" maxOccurs="unbounded" /> | 676 | <xsd:element ref="tocitem" minOccurs="1" maxOccurs="unbounded" /> |
| 671 | </xsd:sequence> | 677 | </xsd:sequence> |
| 672 | </xsd:complexType> | 678 | </xsd:complexType> |
| 673 | </xsd:element> | 679 | </xsd:element> |
| 674 | 680 | ||
| 675 | <xsd:element name="tocitem" > | 681 | <xsd:element name="tocitem" > |
| 676 | <xsd:complexType mixed="true"> | 682 | <xsd:complexType mixed="true"> |
| 677 | <xsd:complexContent> | 683 | <xsd:complexContent> |
| 678 | <xsd:extension base="inline"> | 684 | <xsd:extension base="inline"> |
| 679 | <xsd:attributeGroup ref="link"/> | 685 | <xsd:attributeGroup ref="link"/> |
| 680 | <xsd:attribute name="level" type="xsd:integer" use="required"/> | 686 | <xsd:attribute name="level" type="xsd:integer" use="required"/> |
| 681 | </xsd:extension> | 687 | </xsd:extension> |
| 682 | </xsd:complexContent> | 688 | </xsd:complexContent> |
| 683 | </xsd:complexType> | 689 | </xsd:complexType> |
| 684 | </xsd:element> | 690 | </xsd:element> |
| 685 | 691 | ||
| 686 | <xsd:annotation> | 692 | <xsd:annotation> |
| 687 | <xsd:documentation> | 693 | <xsd:documentation> |
| 688 | ===================================================================== | 694 | ===================================================================== |
| 689 | 695 | ||
| 690 | AN inline elements | 696 | AN inline elements |
| 691 | Comment: AN-specific inline elements are connected to the | 697 | Comment: AN-specific inline elements are connected to the |
| 692 | identification of elements that are corresponding to an inline | 698 | identification of elements that are corresponding to an inline |
| 693 | legal structure, regardless of their position in the document. | 699 | legal structure, regardless of their position in the document. |
| 694 | 700 | ||
| 695 | ===================================================================== | 701 | ===================================================================== |
| 696 | </xsd:documentation> | 702 | </xsd:documentation> |
| 697 | </xsd:annotation> | 703 | </xsd:annotation> |
| 698 | 704 | ||
| 699 | <xsd:element name="ActType" type="inline" /> | 705 | <xsd:element name="ActType" type="inline" /> |
| 700 | 706 | ||
| 701 | <xsd:element name="ActTitle" type="inline" /> | 707 | <xsd:element name="ActTitle" type="inline" /> |
| 702 | 708 | ||
| 703 | <xsd:element name="ActNumber" type="inline" /> | 709 | <xsd:element name="ActNumber" type="inline" /> |
| 704 | 710 | ||
| 705 | <xsd:element name="ActProponent" type="inline" /> | 711 | <xsd:element name="ActProponent" type="inline" /> |
| 706 | 712 | ||
| 707 | <xsd:element name="ActDate" > | 713 | <xsd:element name="ActDate" > |
| 708 | <xsd:complexType mixed="true"> | 714 | <xsd:complexType mixed="true"> |
| 709 | <xsd:complexContent> | 715 | <xsd:complexContent> |
| 710 | <xsd:extension base="inline"> | 716 | <xsd:extension base="inline"> |
| 711 | <xsd:attributeGroup ref="date"/> | 717 | <xsd:attributeGroup ref="date"/> |
| 712 | </xsd:extension> | 718 | </xsd:extension> |
| 713 | </xsd:complexContent> | 719 | </xsd:complexContent> |
| 714 | </xsd:complexType> | 720 | </xsd:complexType> |
| 715 | </xsd:element> | 721 | </xsd:element> |
| 716 | 722 | ||
| 717 | <xsd:element name="ActPurpose" type="inline" /> | 723 | <xsd:element name="ActPurpose" type="inline" /> |
| 718 | 724 | ||
| 719 | <xsd:element name="mref" type="inline" /> | 725 | <xsd:element name="mref" type="inline" /> |
| 720 | 726 | ||
| 721 | <xsd:element name="ref" > | 727 | <xsd:element name="ref" > |
| 722 | <xsd:complexType mixed="true"> | 728 | <xsd:complexType mixed="true"> |
| 723 | <xsd:complexContent> | 729 | <xsd:complexContent> |
| 724 | <xsd:extension base="inline"> | 730 | <xsd:extension base="inline"> |
| 725 | <xsd:attributeGroup ref="link"/> | 731 | <xsd:attributeGroup ref="link"/> |
| 726 | </xsd:extension> | 732 | </xsd:extension> |
| 727 | </xsd:complexContent> | 733 | </xsd:complexContent> |
| 728 | </xsd:complexType> | 734 | </xsd:complexType> |
| 729 | </xsd:element> | 735 | </xsd:element> |
| 730 | 736 | ||
| 731 | <xsd:element name="rref" > | 737 | <xsd:element name="rref" > |
| 732 | <xsd:complexType mixed="true"> | 738 | <xsd:complexType mixed="true"> |
| 733 | <xsd:complexContent> | 739 | <xsd:complexContent> |
| 734 | <xsd:extension base="inline"> | 740 | <xsd:extension base="inline"> |
| 735 | <xsd:attributeGroup ref="link"/> | 741 | <xsd:attributeGroup ref="link"/> |
| 736 | <xsd:attribute name="upTo" type="xsd:anyURI" use="required"/> | 742 | <xsd:attribute name="upTo" type="xsd:anyURI" use="required"/> |
| 737 | </xsd:extension> | 743 | </xsd:extension> |
| 738 | </xsd:complexContent> | 744 | </xsd:complexContent> |
| 739 | </xsd:complexType> | 745 | </xsd:complexType> |
| 740 | </xsd:element> | 746 | </xsd:element> |
| 741 | 747 | ||
| 748 | <xsd:complexType name="modType" mixed="true"> | ||
| 749 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > | ||
| 750 | <xsd:group ref="InlineCM" /> | ||
| 751 | <xsd:element ref="quotedText" /> | ||
| 752 | <xsd:element ref="quotedStructure" /> | ||
| 753 | </xsd:choice> | ||
| 754 | <xsd:attributeGroup ref="coreopt"/> | ||
| 755 | </xsd:complexType> | ||
| 756 | |||
| 757 | <xsd:element name="mod" type="modType" /> | ||
| 758 | |||
| 759 | <xsd:element name="mmod" type="modType" /> | ||
| 760 | |||
| 761 | <xsd:element name="rmod" > | ||
| 762 | <xsd:complexType mixed="true"> | ||
| 763 | <xsd:complexContent> | ||
| 764 | <xsd:extension base="modType"> | ||
| 765 | <xsd:attribute name="upTo" type="xsd:anyURI" use="required"/> | ||
| 766 | </xsd:extension> | ||
| 767 | </xsd:complexContent> | ||
| 768 | </xsd:complexType> | ||
| 769 | </xsd:element> | ||
| 770 | |||
| 771 | <xsd:element name="quotedText" type="inline" /> | ||
| 772 | |||
| 773 | <xsd:element name="quotedStructure" > | ||
| 774 | <xsd:complexType > | ||
| 775 | <xsd:choice minOccurs="1" maxOccurs="unbounded" > | ||
| 776 | <xsd:group ref="hierElements" /> | ||
| 777 | <xsd:element ref="clause" /> | ||
| 778 | <xsd:group ref="blockElements" /> | ||
| 779 | <xsd:group ref="containerElements" /> | ||
| 780 | </xsd:choice> | ||
| 781 | <xsd:attributeGroup ref="corereq"/> | ||
| 782 | </xsd:complexType> | ||
| 783 | </xsd:element> | ||
| 784 | |||
| 742 | <xsd:element name="def" type="inline" /> | 785 | <xsd:element name="def" type="inline" /> |
| 743 | 786 | ||
| 744 | <xsd:element name="ins" type="inline" /> | 787 | <xsd:element name="ins" type="inline" /> |
| 745 | 788 | ||
| 746 | <xsd:element name="del" type="inline" /> | 789 | <xsd:element name="del" type="inline" /> |
| 747 | 790 | ||
| 748 | <xsd:element name="omissis" type="inline" /> | 791 | <xsd:element name="omissis" type="inline" /> |
| 749 | 792 | ||
| 750 | <xsd:element name="noteref" > | 793 | <xsd:element name="noteref" > |
| 751 | <xsd:complexType> | 794 | <xsd:complexType> |
| 752 | <xsd:complexContent> | 795 | <xsd:complexContent> |
| 753 | <xsd:extension base="markeropt"> | 796 | <xsd:extension base="markeropt"> |
| 754 | <xsd:attributeGroup ref="link"/> | 797 | <xsd:attributeGroup ref="link"/> |
| 755 | <xsd:attribute name="num" type="xsd:string" use="required"/> | 798 | <xsd:attribute name="num" type="xsd:string" use="required"/> |
| 756 | </xsd:extension> | 799 | </xsd:extension> |
| 757 | </xsd:complexContent> | 800 | </xsd:complexContent> |
| 758 | </xsd:complexType> | 801 | </xsd:complexType> |
| 759 | </xsd:element> | 802 | </xsd:element> |
| 760 | 803 | ||
| 761 | <xsd:element name="recordedTime" > | 804 | <xsd:element name="recordedTime" > |
| 762 | <xsd:complexType> | 805 | <xsd:complexType> |
| 763 | <xsd:complexContent> | 806 | <xsd:complexContent> |
| 764 | <xsd:extension base="markeropt"> | 807 | <xsd:extension base="markeropt"> |
| 765 | <xsd:attributeGroup ref="time"/> | 808 | <xsd:attributeGroup ref="time"/> |
| 766 | </xsd:extension> | 809 | </xsd:extension> |
| 767 | </xsd:complexContent> | 810 | </xsd:complexContent> |
| 768 | </xsd:complexType> | 811 | </xsd:complexType> |
| 769 | </xsd:element> | 812 | </xsd:element> |
| 770 | 813 | ||
| 771 | <xsd:complexType name="eolType" > | 814 | <xsd:complexType name="eolType" > |
| 772 | <xsd:complexContent> | 815 | <xsd:complexContent> |
| 773 | <xsd:extension base="markeropt"> | 816 | <xsd:extension base="markeropt"> |
| 774 | <xsd:attribute name="breakat" type="xsd:integer"/> | 817 | <xsd:attribute name="breakat" type="xsd:integer"/> |
| 775 | </xsd:extension> | 818 | </xsd:extension> |
| 776 | </xsd:complexContent> | 819 | </xsd:complexContent> |
| 777 | </xsd:complexType> | 820 | </xsd:complexType> |
| 778 | 821 | ||
| 779 | <xsd:element name="eol" type="eolType" /> | 822 | <xsd:element name="eol" type="eolType" /> |
| 780 | 823 | ||
| 781 | <xsd:element name="eop" type="eolType" /> | 824 | <xsd:element name="eop" type="eolType" /> |
| 782 | 825 | ||
| 783 | <xsd:element name="mod" > | ||
| 784 | <xsd:complexType mixed="true"> | ||
| 785 | <xsd:complexContent> | ||
| 786 | <xsd:extension base="inline"> | ||
| 787 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > | ||
| 788 | <xsd:element ref="quotedText" /> | ||
| 789 | <xsd:element ref="quotedStructure" /> | ||
| 790 | </xsd:choice> | ||
| 791 | </xsd:extension> | ||
| 792 | </xsd:complexContent> | ||
| 793 | </xsd:complexType> | ||
| 794 | </xsd:element> | ||
| 795 | |||
| 796 | <xsd:element name="mmod" > | ||
| 797 | <xsd:complexType mixed="true"> | ||
| 798 | <xsd:complexContent> | ||
| 799 | <xsd:extension base="inline"> | ||
| 800 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > | ||
| 801 | <xsd:element ref="quotedText" /> | ||
| 802 | <xsd:element ref="quotedStructure" /> | ||
| 803 | </xsd:choice> | ||
| 804 | </xsd:extension> | ||
| 805 | </xsd:complexContent> | ||
| 806 | </xsd:complexType> | ||
| 807 | </xsd:element> | ||
| 808 | |||
| 809 | <xsd:element name="rmod" > | ||
| 810 | <xsd:complexType mixed="true"> | ||
| 811 | <xsd:complexContent> | ||
| 812 | <xsd:extension base="inline"> | ||
| 813 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > | ||
| 814 | <xsd:element ref="quotedText" /> | ||
| 815 | <xsd:element ref="quotedStructure" /> | ||
| 816 | </xsd:choice> | ||
| 817 | <xsd:attribute name="upTo" type="xsd:anyURI" use="required"/> | ||
| 818 | </xsd:extension> | ||
| 819 | </xsd:complexContent> | ||
| 820 | </xsd:complexType> | ||
| 821 | </xsd:element> | ||
| 822 | |||
| 823 | <xsd:element name="quotedText" type="inline" /> | ||
| 824 | |||
| 825 | <xsd:element name="quotedStructure" > | ||
| 826 | <xsd:complexType > | ||
| 827 | <xsd:choice minOccurs="1" maxOccurs="unbounded" > | ||
| 828 | <xsd:group ref="hierElements" /> | ||
| 829 | <xsd:group ref="blockElements" /> | ||
| 830 | <xsd:group ref="containerElements" /> | ||
| 831 | </xsd:choice> | ||
| 832 | <xsd:attributeGroup ref="corereq"/> | ||
| 833 | </xsd:complexType> | ||
| 834 | </xsd:element> | ||
| 835 | |||
| 836 | <xsd:annotation> | 826 | <xsd:annotation> |
| 837 | <xsd:documentation> | 827 | <xsd:documentation> |
| 838 | ===================================================================== | 828 | ===================================================================== |
| 839 | 829 | ||
| 840 | Generic elements | 830 | Generic elements |
| 841 | Comment: All elements in this schema fall under one of five | 831 | Comment: All elements in this schema fall under one of five |
| 842 | content models: hierarchical container, container, block, inline | 832 | content models: hierarchical container, container, block, inline |
| 843 | and mark. Besides named elements, the schema also provides for a | 833 | and mark. Besides named elements, the schema also provides for a |
| 844 | generic element for each of them, that can be used for markup that | 834 | generic element for each of them, that can be used for markup that |
| 845 | fits the content models but can be specified by a precise name that | 835 | fits the content models but can be specified by a precise name that |
| 846 | is not used in this schema. The 'name' attribute must be used for | 836 | is not used in this schema. The 'name' attribute must be used for |
| 847 | naming the element. | 837 | naming the element. |
| 848 | It is also a characteristic of this schema that all named elements | 838 | It is also a characteristic of this schema that all named elements |
| 849 | are equivalent, and can be substituted to, the corresponding generic | 839 | are equivalent, and can be substituted to, the corresponding generic |
| 850 | element with their name as the value of the name attribute. Thus, by | 840 | element with their name as the value of the name attribute. Thus, by |
| 851 | definition, <p> = <block name="p"> , <part> = <hcontainer name="part"> , | 841 | definition, <p> = <block name="p"> , <part> = <hcontainer name="part"> , |
| 852 | <act> = <container name="act"> , etc. | 842 | <act> = <container name="act"> , etc. |
| 853 | Pattern: Generic Document + Role Attribute | 843 | Pattern: Generic Document + Role Attribute |
| 854 | Reference: http://www.xmlpatterns.com/GenericDocumentMain.shtml + | 844 | Reference: http://www.xmlpatterns.com/GenericDocumentMain.shtml + |
| 855 | http://www.xmlpatterns.com/RoleAttributeMain.shtml | 845 | http://www.xmlpatterns.com/RoleAttributeMain.shtml |
| 856 | 846 | ||
| 857 | ===================================================================== | 847 | ===================================================================== |
| 858 | </xsd:documentation> | 848 | </xsd:documentation> |
| 859 | </xsd:annotation> | 849 | </xsd:annotation> |
| 860 | 850 | ||
| 861 | <xsd:element name="hcontainer" > | 851 | <xsd:element name="hcontainer" > |
| 862 | <xsd:complexType> | 852 | <xsd:complexType> |
| 863 | <xsd:complexContent> | 853 | <xsd:complexContent> |
| 864 | <xsd:extension base="hierarchy"> | 854 | <xsd:extension base="hierarchy"> |
| 865 | <xsd:attributeGroup ref="name"/> | 855 | <xsd:attributeGroup ref="name"/> |
| 866 | </xsd:extension> | 856 | </xsd:extension> |
| 867 | </xsd:complexContent> | 857 | </xsd:complexContent> |
| 868 | </xsd:complexType> | 858 | </xsd:complexType> |
| 869 | </xsd:element> | 859 | </xsd:element> |
| 870 | 860 | ||
| 871 | <xsd:element name="container" > | 861 | <xsd:element name="container" > |
| 872 | <xsd:complexType> | 862 | <xsd:complexType> |
| 873 | <xsd:complexContent> | 863 | <xsd:complexContent> |
| 874 | <xsd:extension base="blocksreq"> | 864 | <xsd:extension base="blocksreq"> |
| 875 | <xsd:attributeGroup ref="name"/> | 865 | <xsd:attributeGroup ref="name"/> |
| 876 | </xsd:extension> | 866 | </xsd:extension> |
| 877 | </xsd:complexContent> | 867 | </xsd:complexContent> |
| 878 | </xsd:complexType> | 868 | </xsd:complexType> |
| 879 | </xsd:element> | 869 | </xsd:element> |
| 880 | 870 | ||
| 881 | <xsd:element name="block" > | 871 | <xsd:element name="block" > |
| 882 | <xsd:complexType mixed="true"> | 872 | <xsd:complexType mixed="true"> |
| 883 | <xsd:complexContent> | 873 | <xsd:complexContent> |
| 884 | <xsd:extension base="inline"> | 874 | <xsd:extension base="inline"> |
| 885 | <xsd:attributeGroup ref="name"/> | 875 | <xsd:attributeGroup ref="name"/> |
| 886 | </xsd:extension> | 876 | </xsd:extension> |
| 887 | </xsd:complexContent> | 877 | </xsd:complexContent> |
| 888 | </xsd:complexType> | 878 | </xsd:complexType> |
| 889 | </xsd:element> | 879 | </xsd:element> |
| 890 | 880 | ||
| 891 | <xsd:element name="inline" > | 881 | <xsd:element name="inline" > |
| 892 | <xsd:complexType mixed="true"> | 882 | <xsd:complexType mixed="true"> |
| 893 | <xsd:complexContent> | 883 | <xsd:complexContent> |
| 894 | <xsd:extension base="inline"> | 884 | <xsd:extension base="inline"> |
| 895 | <xsd:attributeGroup ref="name"/> | 885 | <xsd:attributeGroup ref="name"/> |
| 896 | </xsd:extension> | 886 | </xsd:extension> |
| 897 | </xsd:complexContent> | 887 | </xsd:complexContent> |
| 898 | </xsd:complexType> | 888 | </xsd:complexType> |
| 899 | </xsd:element> | 889 | </xsd:element> |
| 900 | 890 | ||
| 901 | <xsd:element name="marker" > | 891 | <xsd:element name="marker" > |
| 902 | <xsd:complexType> | 892 | <xsd:complexType> |
| 903 | <xsd:complexContent> | 893 | <xsd:complexContent> |
| 904 | <xsd:extension base="markerreq"> | 894 | <xsd:extension base="markerreq"> |
| 905 | <xsd:attributeGroup ref="name"/> | 895 | <xsd:attributeGroup ref="name"/> |
| 906 | </xsd:extension> | 896 | </xsd:extension> |
| 907 | </xsd:complexContent> | 897 | </xsd:complexContent> |
| 908 | </xsd:complexType> | 898 | </xsd:complexType> |
| 909 | </xsd:element> | 899 | </xsd:element> |
| 910 | 900 | ||
| 911 | <xsd:element name="foreign" type="anyOther" /> | 901 | <xsd:element name="foreign" type="anyOther" /> |
| 912 | 902 | ||
| 913 | <xsd:annotation> | 903 | <xsd:annotation> |
| 914 | <xsd:documentation> | 904 | <xsd:documentation> |
| 915 | ===================================================================== | 905 | ===================================================================== |
| 916 | 906 | ||
| 917 | HTML elements | 907 | HTML elements |
| 918 | Comment: Many elements are drawn directly from HTML 4.0 | 908 | Comment: Many elements are drawn directly from HTML 4.0 |
| 919 | Pattern: Reuse Document Types (partial) | 909 | Pattern: Reuse Document Types (partial) |
| 920 | Reference: http://www.xmlpatterns.com/ReuseDocumentTypesMain.shtml | 910 | Reference: http://www.xmlpatterns.com/ReuseDocumentTypesMain.shtml |
| 921 | 911 | ||
| 922 | ===================================================================== | 912 | ===================================================================== |
| 923 | </xsd:documentation> | 913 | </xsd:documentation> |
| 924 | </xsd:annotation> | 914 | </xsd:annotation> |
| 925 | 915 | ||
| 926 | <xsd:element name="div" type="blocksreq" /> | 916 | <xsd:element name="div" type="blocksreq" /> |
| 927 | 917 | ||
| 928 | <xsd:element name="p" type="inline" /> | 918 | <xsd:element name="p" type="inline" /> |
| 929 | 919 | ||
| 930 | <xsd:element name="li" > | 920 | <xsd:element name="li" > |
| 931 | <xsd:complexType mixed="true"> | 921 | <xsd:complexType mixed="true"> |
| 932 | <xsd:complexContent> | 922 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > |
| 933 | <xsd:extension base="inline"> | 923 | <xsd:group ref="InlineCM" /> |
| 934 | <xsd:choice minOccurs="0" maxOccurs="unbounded" > | 924 | <xsd:element ref="ul" /> |
| 935 | <xsd:element ref="ul" /> | 925 | <xsd:element ref="ol" /> |
| 936 | <xsd:element ref="ol" /> | 926 | <xsd:element ref="p" /> |
| 937 | <xsd:element ref="p" /> | 927 | </xsd:choice> |
| 938 | </xsd:choice> | 928 | <xsd:attributeGroup ref="optvalue"/> |
| 939 | <xsd:attributeGroup ref="optvalue"/> | 929 | <xsd:attributeGroup ref="coreopt"/> |
| 940 | </xsd:extension> | ||
| 941 | </xsd:complexContent> | ||
| 942 | </xsd:complexType> | 930 | </xsd:complexType> |
| 943 | </xsd:element> | 931 | </xsd:element> |
| 944 | 932 | ||
| 945 | <xsd:element name="span" type="inline" /> | 933 | <xsd:element name="span" type="inline" /> |
| 946 | 934 | ||
| 947 | <xsd:element name="b" type="inline" /> | 935 | <xsd:element name="b" type="inline" /> |
| 948 | 936 | ||
| 949 | <xsd:element name="i" type="inline" /> | 937 | <xsd:element name="i" type="inline" /> |
| 950 | 938 | ||
| 951 | <xsd:element name="a" > | 939 | <xsd:element name="a" > |
| 952 | <xsd:complexType mixed="true"> | 940 | <xsd:complexType mixed="true"> |
| 953 | <xsd:complexContent> | 941 | <xsd:complexContent> |
| 954 | <xsd:extension base="inline"> | 942 | <xsd:extension base="inline"> |
| 955 | <xsd:attributeGroup ref="link"/> | 943 | <xsd:attributeGroup ref="link"/> |
| 956 | <xsd:attribute name="target" type="xsd:string"/> | 944 | <xsd:attribute name="target" type="xsd:string"/> |
| 957 | </xsd:extension> | 945 | </xsd:extension> |
| 958 | </xsd:complexContent> | 946 | </xsd:complexContent> |
| 959 | </xsd:complexType> | 947 | </xsd:complexType> |
| 960 | </xsd:element> | 948 | </xsd:element> |
| 961 | 949 | ||
| 962 | <xsd:element name="img" > | 950 | <xsd:element name="img" > |
| 963 | <xsd:complexType> | 951 | <xsd:complexType> |
| 964 | <xsd:complexContent> | 952 | <xsd:complexContent> |
| 965 | <xsd:extension base="markeropt"> | 953 | <xsd:extension base="markeropt"> |
| 966 | <xsd:attribute name="src" type="xsd:anyURI" use="required"/> | 954 | <xsd:attribute name="src" type="xsd:anyURI" use="required"/> |
| 967 | <xsd:attribute name="alt" type="xsd:string"/> | 955 | <xsd:attribute name="alt" type="xsd:string"/> |
| 968 | <xsd:attribute name="width" type="xsd:integer"/> | 956 | <xsd:attribute name="width" type="xsd:integer"/> |
| 969 | <xsd:attribute name="height" type="xsd:integer"/> | 957 | <xsd:attribute name="height" type="xsd:integer"/> |
| 970 | </xsd:extension> | 958 | </xsd:extension> |
| 971 | </xsd:complexContent> | 959 | </xsd:complexContent> |
| 972 | </xsd:complexType> | 960 | </xsd:complexType> |
| 973 | </xsd:element> | 961 | </xsd:element> |
| 974 | 962 | ||
| 975 | <xsd:complexType name="listItems" > | 963 | |



Previous:
Diff:Sep 2007 & Jun 2007