author | Patrick PIERRE <patrick.pierre@prismallia.fr> |
sam., 11 juin 2011 20:34:05 +0200 | |
changeset 16 | afd2fe442c65 |
parent 12 | 2885b2c3ff59 |
child 17 | ca367d4d080b |
permissions | -rw-r--r-- |
patrick@0 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
patrick@0 | 2 |
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> |
patrick@0 | 3 |
<!-- $Id$ --> |
patrick@0 | 4 |
<start> |
patrick@0 | 5 |
<ref name="publidoc"/> |
patrick@0 | 6 |
</start> |
patrick@0 | 7 |
<define name="publidoc"> |
patrick@0 | 8 |
<element name="publidoc"> |
patrick@0 | 9 |
<ref name="publidoc.attributes"/> |
patrick@0 | 10 |
<ref name="publidoc.content"/> |
patrick@0 | 11 |
</element> |
patrick@0 | 12 |
</define> |
patrick@0 | 13 |
<define name="publidoc.attributes"> |
patrick@0 | 14 |
<ref name="version.attribute"/> |
patrick@0 | 15 |
</define> |
patrick@0 | 16 |
<define name="version.attribute"> |
patrick@0 | 17 |
<attribute name="version"> |
patrick@0 | 18 |
<value>1.0</value> |
patrick@0 | 19 |
</attribute> |
patrick@0 | 20 |
</define> |
patrick@0 | 21 |
<define name="publidoc.content"> |
patrick@0 | 22 |
<choice> |
patrick@0 | 23 |
<ref name="document"/> |
patrick@0 | 24 |
<ref name="top.topic"/> |
patrick@0 | 25 |
</choice> |
patrick@0 | 26 |
</define> |
patrick@0 | 27 |
<!-- |
patrick@0 | 28 |
============================================================================= |
patrick@0 | 29 |
Top level |
patrick@0 | 30 |
============================================================================= |
patrick@0 | 31 |
--> |
patrick@0 | 32 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ document ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 33 |
<define name="document"> |
patrick@0 | 34 |
<element name="document"> |
patrick@0 | 35 |
<ref name="document.attributes"/> |
patrick@0 | 36 |
<ref name="document.content"/> |
patrick@0 | 37 |
</element> |
patrick@0 | 38 |
</define> |
patrick@0 | 39 |
<define name="document.attributes"> |
patrick@0 | 40 |
<ref name="document.id.attribute"/> |
patrick@0 | 41 |
</define> |
patrick@0 | 42 |
<define name="document.id.attribute"> |
patrick@0 | 43 |
<attribute name="xml:id"> |
patrick@0 | 44 |
<data type="ID"/> |
patrick@0 | 45 |
</attribute> |
patrick@0 | 46 |
</define> |
patrick@0 | 47 |
<define name="document.content"> |
patrick@0 | 48 |
<optional> |
patrick@0 | 49 |
<ref name="metadata"/> |
patrick@0 | 50 |
</optional> |
patrick@0 | 51 |
<choice> |
patrick@0 | 52 |
<oneOrMore> |
patrick@0 | 53 |
<ref name="division"/> |
patrick@0 | 54 |
</oneOrMore> |
patrick@0 | 55 |
<oneOrMore> |
patrick@0 | 56 |
<ref name="topic"/> |
patrick@0 | 57 |
</oneOrMore> |
patrick@0 | 58 |
</choice> |
patrick@0 | 59 |
</define> |
patrick@0 | 60 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 61 |
<define name="top.topic"> |
patrick@0 | 62 |
<element name="topic"> |
patrick@0 | 63 |
<ref name="top.topic.attributes"/> |
patrick@0 | 64 |
<ref name="topic.content"/> |
patrick@0 | 65 |
</element> |
patrick@0 | 66 |
</define> |
patrick@0 | 67 |
<!-- |
patrick@0 | 68 |
============================================================================= |
patrick@0 | 69 |
Metadata level |
patrick@0 | 70 |
============================================================================= |
patrick@0 | 71 |
--> |
patrick@0 | 72 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 73 |
<define name="metadata"> |
patrick@0 | 74 |
<element name="metadata"> |
patrick@0 | 75 |
<ref name="metadata.content"/> |
patrick@0 | 76 |
</element> |
patrick@0 | 77 |
</define> |
patrick@0 | 78 |
<define name="metadata.content"> |
patrick@0 | 79 |
<interleave> |
patrick@0 | 80 |
<ref name="title"/> |
patrick@0 | 81 |
<optional> |
patrick@0 | 82 |
<ref name="subtitle"/> |
patrick@0 | 83 |
</optional> |
patrick@0 | 84 |
<zeroOrMore> |
patrick@0 | 85 |
<ref name="author"/> |
patrick@0 | 86 |
</zeroOrMore> |
patrick@0 | 87 |
<optional> |
patrick@0 | 88 |
<ref name="publisher"/> |
patrick@0 | 89 |
</optional> |
patrick@0 | 90 |
<optional> |
patrick@0 | 91 |
<ref name="language"/> |
patrick@0 | 92 |
</optional> |
patrick@0 | 93 |
<optional> |
patrick@0 | 94 |
<ref name="date"/> |
patrick@0 | 95 |
</optional> |
patrick@0 | 96 |
<optional> |
patrick@0 | 97 |
<ref name="place"/> |
patrick@0 | 98 |
</optional> |
patrick@0 | 99 |
<zeroOrMore> |
patrick@0 | 100 |
<ref name="source"/> |
patrick@0 | 101 |
</zeroOrMore> |
patrick@0 | 102 |
<optional> |
patrick@0 | 103 |
<ref name="subjectset"/> |
patrick@0 | 104 |
</optional> |
patrick@0 | 105 |
<optional> |
patrick@0 | 106 |
<ref name="abstract"/> |
patrick@0 | 107 |
</optional> |
patrick@0 | 108 |
<zeroOrMore> |
patrick@0 | 109 |
<ref name="annotation"/> |
patrick@0 | 110 |
</zeroOrMore> |
patrick@0 | 111 |
</interleave> |
patrick@0 | 112 |
</define> |
patrick@0 | 113 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ title, subtitle ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 114 |
<define name="title"> |
patrick@0 | 115 |
<element name="title"> |
patrick@0 | 116 |
<ref name="title.content"/> |
patrick@0 | 117 |
</element> |
patrick@0 | 118 |
</define> |
patrick@0 | 119 |
<define name="title.content"> |
patrick@0 | 120 |
<ref name="inlines"/> |
patrick@0 | 121 |
</define> |
patrick@0 | 122 |
<define name="subtitle"> |
patrick@0 | 123 |
<element name="subtitle"> |
patrick@0 | 124 |
<ref name="title.content"/> |
patrick@0 | 125 |
</element> |
patrick@0 | 126 |
</define> |
patrick@0 | 127 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ author, publisher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@5 | 128 |
<!-- ~~~~~~ author --> |
patrick@0 | 129 |
<define name="author"> |
patrick@0 | 130 |
<element name="author"> |
patrick@0 | 131 |
<ref name="author.content"/> |
patrick@0 | 132 |
</element> |
patrick@0 | 133 |
</define> |
patrick@0 | 134 |
<define name="author.content"> |
patrick@0 | 135 |
<optional> |
patrick@0 | 136 |
<ref name="firstname"/> |
patrick@0 | 137 |
</optional> |
patrick@0 | 138 |
<ref name="lastname"/> |
patrick@0 | 139 |
</define> |
patrick@5 | 140 |
<!-- ~~~~~~ publisher --> |
patrick@0 | 141 |
<define name="publisher"> |
patrick@0 | 142 |
<element name="publisher"> |
patrick@0 | 143 |
<ref name="publisher.content"/> |
patrick@0 | 144 |
</element> |
patrick@0 | 145 |
</define> |
patrick@0 | 146 |
<define name="publisher.content"> |
patrick@0 | 147 |
<ref name="inlines"/> |
patrick@0 | 148 |
</define> |
patrick@5 | 149 |
<!-- ~~~~~~ firstname --> |
patrick@5 | 150 |
<define name="firstname"> |
patrick@5 | 151 |
<element name="firstname"> |
patrick@5 | 152 |
<ref name="firstname.content"/> |
patrick@5 | 153 |
</element> |
patrick@5 | 154 |
</define> |
patrick@5 | 155 |
<define name="firstname.content"> |
patrick@5 | 156 |
<ref name="inlines"/> |
patrick@5 | 157 |
</define> |
patrick@5 | 158 |
<!-- ~~~~~~ lastname --> |
patrick@5 | 159 |
<define name="lastname"> |
patrick@5 | 160 |
<element name="lastname"> |
patrick@5 | 161 |
<ref name="lastname.content"/> |
patrick@5 | 162 |
</element> |
patrick@5 | 163 |
</define> |
patrick@5 | 164 |
<define name="lastname.content"> |
patrick@5 | 165 |
<ref name="inlines"/> |
patrick@5 | 166 |
</define> |
patrick@2 | 167 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Language ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@2 | 168 |
<define name="language"> |
patrick@2 | 169 |
<element name="language"> |
patrick@2 | 170 |
<ref name="language.attributes"/> |
patrick@2 | 171 |
</element> |
patrick@2 | 172 |
</define> |
patrick@2 | 173 |
<define name="language.attributes"> |
patrick@2 | 174 |
<ref name="lang.attribute"/> |
patrick@2 | 175 |
</define> |
patrick@2 | 176 |
<define name="lang.attribute"> |
patrick@2 | 177 |
<attribute name="xml:lang"> |
patrick@2 | 178 |
<data type="language"/> |
patrick@2 | 179 |
</attribute> |
patrick@2 | 180 |
</define> |
patrick@2 | 181 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ place ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@2 | 182 |
<define name="place"> |
patrick@2 | 183 |
<element name="place"> |
patrick@2 | 184 |
<ref name="place.content"/> |
patrick@2 | 185 |
</element> |
patrick@2 | 186 |
</define> |
patrick@2 | 187 |
<define name="place.content"> |
patrick@2 | 188 |
<ref name="inlines"/> |
patrick@2 | 189 |
</define> |
patrick@0 | 190 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@2 | 191 |
<!-- ~~~~~~ source --> |
patrick@0 | 192 |
<define name="source"> |
patrick@0 | 193 |
<element name="source"> |
patrick@0 | 194 |
<ref name="source.attributes"/> |
patrick@0 | 195 |
<choice> |
patrick@0 | 196 |
<group> |
patrick@0 | 197 |
<attribute name="type"> |
patrick@0 | 198 |
<value>book</value> |
patrick@0 | 199 |
</attribute> |
patrick@0 | 200 |
<ref name="source.content.book"/> |
patrick@0 | 201 |
</group> |
patrick@0 | 202 |
<attribute name="type"> |
patrick@0 | 203 |
<value>file</value> |
patrick@0 | 204 |
</attribute> |
patrick@0 | 205 |
</choice> |
patrick@0 | 206 |
<ref name="source.content"/> |
patrick@0 | 207 |
</element> |
patrick@0 | 208 |
</define> |
patrick@0 | 209 |
<define name="source.attributes"> |
patrick@0 | 210 |
<ref name="source.id.attribute"/> |
patrick@0 | 211 |
</define> |
patrick@0 | 212 |
<define name="source.id.attribute"> |
patrick@0 | 213 |
<attribute name="id"> |
patrick@0 | 214 |
<data type="NMTOKEN"/> |
patrick@0 | 215 |
</attribute> |
patrick@0 | 216 |
</define> |
patrick@0 | 217 |
<define name="source.content.book"> |
patrick@0 | 218 |
<ref name="title"/> |
patrick@0 | 219 |
<zeroOrMore> |
patrick@0 | 220 |
<ref name="pagenumber"/> |
patrick@0 | 221 |
</zeroOrMore> |
patrick@0 | 222 |
</define> |
patrick@0 | 223 |
<define name="source.content"> |
patrick@0 | 224 |
<zeroOrMore> |
patrick@0 | 225 |
<ref name="annotation"/> |
patrick@0 | 226 |
</zeroOrMore> |
patrick@0 | 227 |
</define> |
patrick@2 | 228 |
<!-- ~~~~~~ pagenumber --> |
patrick@0 | 229 |
<define name="pagenumber"> |
patrick@0 | 230 |
<element name="pagenumber"> |
patrick@0 | 231 |
<ref name="pagenumber.attributes"/> |
patrick@0 | 232 |
</element> |
patrick@0 | 233 |
</define> |
patrick@0 | 234 |
<define name="pagenumber.attributes"> |
patrick@0 | 235 |
<ref name="pagenumber.value.attribute"/> |
patrick@0 | 236 |
</define> |
patrick@0 | 237 |
<define name="pagenumber.value.attribute"> |
patrick@0 | 238 |
<attribute name="value"> |
patrick@0 | 239 |
<ref name="pagenumber.value.enumeration"/> |
patrick@0 | 240 |
</attribute> |
patrick@0 | 241 |
</define> |
patrick@0 | 242 |
<define name="pagenumber.value.enumeration"> |
patrick@0 | 243 |
<data type="positiveInteger"/> |
patrick@0 | 244 |
</define> |
patrick@0 | 245 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subject ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@2 | 246 |
<!-- ~~~~~~ subjectset --> |
patrick@0 | 247 |
<define name="subjectset"> |
patrick@0 | 248 |
<element name="subjectset"> |
patrick@0 | 249 |
<ref name="subjectset.content"/> |
patrick@0 | 250 |
</element> |
patrick@0 | 251 |
</define> |
patrick@0 | 252 |
<define name="subjectset.content"> |
patrick@0 | 253 |
<oneOrMore> |
patrick@0 | 254 |
<ref name="subject"/> |
patrick@0 | 255 |
</oneOrMore> |
patrick@0 | 256 |
</define> |
patrick@2 | 257 |
<!-- ~~~~~~ subject --> |
patrick@0 | 258 |
<define name="subject"> |
patrick@0 | 259 |
<element name="subject"> |
patrick@0 | 260 |
<ref name="subject.attributes"/> |
patrick@0 | 261 |
</element> |
patrick@0 | 262 |
</define> |
patrick@0 | 263 |
<define name="subject.attributes"> |
patrick@0 | 264 |
<ref name="subject.id.attribute"/> |
patrick@0 | 265 |
</define> |
patrick@0 | 266 |
<define name="subject.id.attribute"> |
patrick@0 | 267 |
<attribute name="id"> |
patrick@0 | 268 |
<data type="NMTOKEN"/> |
patrick@0 | 269 |
</attribute> |
patrick@0 | 270 |
</define> |
patrick@5 | 271 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abstract ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@2 | 272 |
<define name="abstract"> |
patrick@2 | 273 |
<element name="abstract"> |
patrick@2 | 274 |
<ref name="abstract.content"/> |
patrick@2 | 275 |
</element> |
patrick@2 | 276 |
</define> |
patrick@2 | 277 |
<define name="abstract.content"> |
patrick@2 | 278 |
<oneOrMore> |
patrick@2 | 279 |
<ref name="parag"/> |
patrick@2 | 280 |
</oneOrMore> |
patrick@2 | 281 |
</define> |
patrick@0 | 282 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ annotation ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 283 |
<define name="annotation"> |
patrick@0 | 284 |
<element name="annotation"> |
patrick@0 | 285 |
<ref name="annotation.content"/> |
patrick@0 | 286 |
</element> |
patrick@0 | 287 |
</define> |
patrick@0 | 288 |
<define name="annotation.content"> |
patrick@0 | 289 |
<ref name="inlines"/> |
patrick@0 | 290 |
</define> |
patrick@0 | 291 |
<!-- |
patrick@0 | 292 |
============================================================================= |
patrick@0 | 293 |
Division level |
patrick@0 | 294 |
============================================================================= |
patrick@0 | 295 |
--> |
patrick@0 | 296 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ division ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 297 |
<define name="division"> |
patrick@0 | 298 |
<element name="division"> |
patrick@0 | 299 |
<ref name="division.content"/> |
patrick@0 | 300 |
</element> |
patrick@0 | 301 |
</define> |
patrick@0 | 302 |
<define name="division.content"> |
patrick@0 | 303 |
<optional> |
patrick@0 | 304 |
<ref name="metadata"/> |
patrick@0 | 305 |
</optional> |
patrick@0 | 306 |
<choice> |
patrick@0 | 307 |
<oneOrMore> |
patrick@0 | 308 |
<ref name="division"/> |
patrick@0 | 309 |
</oneOrMore> |
patrick@0 | 310 |
<oneOrMore> |
patrick@0 | 311 |
<ref name="topic"/> |
patrick@0 | 312 |
</oneOrMore> |
patrick@0 | 313 |
</choice> |
patrick@0 | 314 |
</define> |
patrick@0 | 315 |
<!-- |
patrick@0 | 316 |
============================================================================= |
patrick@0 | 317 |
Component level |
patrick@0 | 318 |
============================================================================= |
patrick@0 | 319 |
--> |
patrick@0 | 320 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 321 |
<define name="topic"> |
patrick@0 | 322 |
<element name="topic"> |
patrick@0 | 323 |
<ref name="topic.attributes"/> |
patrick@0 | 324 |
<ref name="topic.content"/> |
patrick@0 | 325 |
</element> |
patrick@0 | 326 |
</define> |
patrick@0 | 327 |
<define name="top.topic.attributes"> |
patrick@0 | 328 |
<interleave> |
patrick@0 | 329 |
<ref name="topic.id.attribute"/> |
patrick@0 | 330 |
<optional> |
patrick@0 | 331 |
<ref name="topic.type.attribute"/> |
patrick@0 | 332 |
</optional> |
patrick@0 | 333 |
</interleave> |
patrick@0 | 334 |
</define> |
patrick@0 | 335 |
<define name="topic.attributes"> |
patrick@0 | 336 |
<interleave> |
patrick@0 | 337 |
<optional> |
patrick@0 | 338 |
<ref name="topic.id.attribute"/> |
patrick@0 | 339 |
</optional> |
patrick@0 | 340 |
<optional> |
patrick@0 | 341 |
<ref name="topic.type.attribute"/> |
patrick@0 | 342 |
</optional> |
patrick@0 | 343 |
</interleave> |
patrick@0 | 344 |
</define> |
patrick@0 | 345 |
<define name="topic.id.attribute"> |
patrick@0 | 346 |
<attribute name="xml:id"> |
patrick@0 | 347 |
<data type="ID"/> |
patrick@0 | 348 |
</attribute> |
patrick@0 | 349 |
</define> |
patrick@0 | 350 |
<define name="topic.type.attribute"> |
patrick@0 | 351 |
<attribute name="type"> |
patrick@0 | 352 |
<data type="NCName"/> |
patrick@0 | 353 |
</attribute> |
patrick@0 | 354 |
</define> |
patrick@0 | 355 |
<define name="topic.content"> |
patrick@0 | 356 |
<optional> |
patrick@0 | 357 |
<ref name="metadata"/> |
patrick@0 | 358 |
</optional> |
patrick@0 | 359 |
<oneOrMore> |
patrick@0 | 360 |
<ref name="section"/> |
patrick@0 | 361 |
</oneOrMore> |
patrick@0 | 362 |
</define> |
patrick@0 | 363 |
<!-- |
patrick@0 | 364 |
============================================================================= |
patrick@0 | 365 |
Section level |
patrick@0 | 366 |
============================================================================= |
patrick@0 | 367 |
--> |
patrick@0 | 368 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 369 |
<define name="section"> |
patrick@0 | 370 |
<element name="section"> |
patrick@0 | 371 |
<ref name="section.content"/> |
patrick@0 | 372 |
<ref name="section.attributes"/> |
patrick@0 | 373 |
</element> |
patrick@0 | 374 |
</define> |
patrick@0 | 375 |
<define name="section.content"> |
patrick@0 | 376 |
<optional> |
patrick@0 | 377 |
<ref name="metadata"/> |
patrick@0 | 378 |
</optional> |
patrick@0 | 379 |
<choice> |
patrick@0 | 380 |
<oneOrMore> |
patrick@0 | 381 |
<ref name="section"/> |
patrick@0 | 382 |
</oneOrMore> |
patrick@0 | 383 |
<oneOrMore> |
patrick@10 | 384 |
<ref name="block"/> |
patrick@0 | 385 |
</oneOrMore> |
patrick@0 | 386 |
</choice> |
patrick@0 | 387 |
</define> |
patrick@0 | 388 |
<define name="section.attributes"> |
patrick@0 | 389 |
<optional> |
patrick@0 | 390 |
<ref name="status.attribute"/> |
patrick@0 | 391 |
</optional> |
patrick@0 | 392 |
</define> |
patrick@0 | 393 |
<define name="status.attribute"> |
patrick@0 | 394 |
<attribute name="status"> |
patrick@0 | 395 |
<data type="NCName"/> |
patrick@0 | 396 |
</attribute> |
patrick@0 | 397 |
</define> |
patrick@0 | 398 |
<!-- |
patrick@0 | 399 |
============================================================================= |
patrick@0 | 400 |
Block level |
patrick@0 | 401 |
============================================================================= |
patrick@0 | 402 |
--> |
patrick@10 | 403 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blocks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@10 | 404 |
<define name="block"> |
patrick@10 | 405 |
<choice> |
patrick@10 | 406 |
<ref name="parag"/> |
patrick@10 | 407 |
<ref name="list"/> |
patrick@11 | 408 |
<ref name="speech"/> |
patrick@10 | 409 |
<ref name="media"/> |
patrick@10 | 410 |
</choice> |
patrick@10 | 411 |
</define> |
patrick@10 | 412 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parag ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 413 |
<define name="parag"> |
patrick@0 | 414 |
<element name="parag"> |
patrick@0 | 415 |
<ref name="parag.content"/> |
patrick@0 | 416 |
</element> |
patrick@0 | 417 |
</define> |
patrick@0 | 418 |
<define name="parag.content"> |
patrick@0 | 419 |
<interleave> |
patrick@0 | 420 |
<ref name="inlines"/> |
patrick@0 | 421 |
<zeroOrMore> |
patrick@0 | 422 |
<ref name="link"/> |
patrick@0 | 423 |
</zeroOrMore> |
patrick@0 | 424 |
</interleave> |
patrick@0 | 425 |
</define> |
patrick@10 | 426 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@10 | 427 |
<!-- ~~~~~~ list --> |
patrick@10 | 428 |
<define name="list"> |
patrick@10 | 429 |
<element name="list"> |
patrick@10 | 430 |
<ref name="list.content"/> |
patrick@10 | 431 |
</element> |
patrick@10 | 432 |
</define> |
patrick@10 | 433 |
<define name="list.content"> |
patrick@10 | 434 |
<optional> |
patrick@10 | 435 |
<ref name="title"/> |
patrick@10 | 436 |
</optional> |
patrick@10 | 437 |
<choice> |
patrick@10 | 438 |
<group> |
patrick@10 | 439 |
<optional> |
patrick@10 | 440 |
<attribute name="type"> |
patrick@12 | 441 |
<value>ordered</value> |
patrick@10 | 442 |
</attribute> |
patrick@10 | 443 |
</optional> |
patrick@10 | 444 |
<ref name="item"/> |
patrick@10 | 445 |
<oneOrMore> |
patrick@10 | 446 |
<ref name="item"/> |
patrick@10 | 447 |
</oneOrMore> |
patrick@10 | 448 |
</group> |
patrick@10 | 449 |
<group> |
patrick@10 | 450 |
<attribute name="type"> |
patrick@10 | 451 |
<value>glossary</value> |
patrick@10 | 452 |
</attribute> |
patrick@10 | 453 |
<oneOrMore> |
patrick@10 | 454 |
<ref name="glossary.item"/> |
patrick@10 | 455 |
</oneOrMore> |
patrick@10 | 456 |
</group> |
patrick@10 | 457 |
</choice> |
patrick@10 | 458 |
</define> |
patrick@10 | 459 |
<!-- ~~~~~~ item --> |
patrick@10 | 460 |
<define name="item"> |
patrick@10 | 461 |
<element name="item"> |
patrick@10 | 462 |
<ref name="item.content"/> |
patrick@10 | 463 |
</element> |
patrick@10 | 464 |
</define> |
patrick@10 | 465 |
<define name="item.content"> |
patrick@10 | 466 |
<oneOrMore> |
patrick@10 | 467 |
<ref name="block"/> |
patrick@10 | 468 |
</oneOrMore> |
patrick@10 | 469 |
</define> |
patrick@10 | 470 |
<!-- ~~~~~~ glossary.item --> |
patrick@10 | 471 |
<define name="glossary.item"> |
patrick@10 | 472 |
<element name="item"> |
patrick@10 | 473 |
<ref name="glossary.item.content"/> |
patrick@10 | 474 |
</element> |
patrick@10 | 475 |
</define> |
patrick@10 | 476 |
<define name="glossary.item.content"> |
patrick@10 | 477 |
<ref name="label"/> |
patrick@10 | 478 |
<oneOrMore> |
patrick@10 | 479 |
<ref name="block"/> |
patrick@10 | 480 |
</oneOrMore> |
patrick@10 | 481 |
</define> |
patrick@10 | 482 |
<!-- ~~~~~~ label --> |
patrick@10 | 483 |
<define name="label"> |
patrick@10 | 484 |
<element name="label"> |
patrick@10 | 485 |
<ref name="label.content"/> |
patrick@10 | 486 |
</element> |
patrick@10 | 487 |
</define> |
patrick@10 | 488 |
<define name="label.content"> |
patrick@10 | 489 |
<ref name="inlines"/> |
patrick@10 | 490 |
</define> |
patrick@12 | 491 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@11 | 492 |
<!-- ~~~~~~ speech --> |
patrick@11 | 493 |
<define name="speech"> |
patrick@11 | 494 |
<element name="speech"> |
patrick@11 | 495 |
<ref name="speech.content"/> |
patrick@11 | 496 |
</element> |
patrick@11 | 497 |
</define> |
patrick@11 | 498 |
<define name="speech.content"> |
patrick@11 | 499 |
<optional> |
patrick@11 | 500 |
<ref name="speaker"/> |
patrick@11 | 501 |
</optional> |
patrick@11 | 502 |
<optional> |
patrick@11 | 503 |
<ref name="stage"/> |
patrick@11 | 504 |
</optional> |
patrick@11 | 505 |
<oneOrMore> |
patrick@11 | 506 |
<ref name="parag"/> |
patrick@11 | 507 |
</oneOrMore> |
patrick@11 | 508 |
</define> |
patrick@11 | 509 |
<!-- ~~~~~~ speaker --> |
patrick@11 | 510 |
<define name="speaker"> |
patrick@11 | 511 |
<element name="speaker"> |
patrick@11 | 512 |
<ref name="speaker.content"/> |
patrick@11 | 513 |
</element> |
patrick@11 | 514 |
</define> |
patrick@11 | 515 |
<define name="speaker.content"> |
patrick@11 | 516 |
<ref name="inlines"/> |
patrick@11 | 517 |
</define> |
patrick@11 | 518 |
<!-- ~~~~~~ stage --> |
patrick@11 | 519 |
<define name="stage"> |
patrick@11 | 520 |
<element name="stage"> |
patrick@11 | 521 |
<ref name="stage.content"/> |
patrick@11 | 522 |
</element> |
patrick@11 | 523 |
</define> |
patrick@11 | 524 |
<define name="stage.content"> |
patrick@11 | 525 |
<ref name="inlines"/> |
patrick@11 | 526 |
</define> |
patrick@0 | 527 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ media ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@2 | 528 |
<!-- ~~~~~~ media --> |
patrick@0 | 529 |
<define name="media"> |
patrick@0 | 530 |
<element name="media"> |
patrick@0 | 531 |
<ref name="media.content"/> |
patrick@0 | 532 |
</element> |
patrick@0 | 533 |
</define> |
patrick@0 | 534 |
<define name="media.content"> |
patrick@0 | 535 |
<oneOrMore> |
patrick@0 | 536 |
<ref name="image"/> |
patrick@0 | 537 |
</oneOrMore> |
patrick@0 | 538 |
<optional> |
patrick@0 | 539 |
<ref name="media.caption"/> |
patrick@0 | 540 |
</optional> |
patrick@0 | 541 |
</define> |
patrick@0 | 542 |
<define name="media.id.attribute"> |
patrick@0 | 543 |
<attribute name="id"> |
patrick@0 | 544 |
<data type="NMTOKEN"/> |
patrick@0 | 545 |
</attribute> |
patrick@0 | 546 |
</define> |
patrick@2 | 547 |
<!-- ~~~~~~ image --> |
patrick@0 | 548 |
<define name="image"> |
patrick@0 | 549 |
<element name="image"> |
patrick@0 | 550 |
<ref name="image.attributes"/> |
patrick@0 | 551 |
<ref name="image.content"/> |
patrick@0 | 552 |
</element> |
patrick@0 | 553 |
</define> |
patrick@0 | 554 |
<define name="image.attributes"> |
patrick@0 | 555 |
<ref name="media.id.attribute"/> |
patrick@0 | 556 |
</define> |
patrick@0 | 557 |
<define name="image.content"> |
patrick@0 | 558 |
<optional> |
patrick@0 | 559 |
<ref name="copyright"/> |
patrick@0 | 560 |
</optional> |
patrick@0 | 561 |
</define> |
patrick@3 | 562 |
<!-- ~~~~~~ caption --> |
patrick@3 | 563 |
<define name="media.caption"> |
patrick@3 | 564 |
<element name="caption"> |
patrick@3 | 565 |
<ref name="media.caption.content"/> |
patrick@3 | 566 |
</element> |
patrick@3 | 567 |
</define> |
patrick@3 | 568 |
<define name="media.caption.content"> |
patrick@3 | 569 |
<oneOrMore> |
patrick@3 | 570 |
<ref name="parag"/> |
patrick@3 | 571 |
</oneOrMore> |
patrick@3 | 572 |
</define> |
patrick@2 | 573 |
<!-- ~~~~~~ copyright --> |
patrick@0 | 574 |
<define name="copyright"> |
patrick@0 | 575 |
<element name="copyright"> |
patrick@0 | 576 |
<ref name="copyright.content"/> |
patrick@0 | 577 |
</element> |
patrick@0 | 578 |
</define> |
patrick@0 | 579 |
<define name="copyright.content"> |
patrick@0 | 580 |
<ref name="inlines"/> |
patrick@0 | 581 |
</define> |
patrick@0 | 582 |
<!-- |
patrick@0 | 583 |
============================================================================= |
patrick@0 | 584 |
Inline level |
patrick@0 | 585 |
============================================================================= |
patrick@0 | 586 |
--> |
patrick@0 | 587 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inlines ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 588 |
<define name="inlines"> |
patrick@0 | 589 |
<mixed> |
patrick@0 | 590 |
<interleave> |
patrick@0 | 591 |
<zeroOrMore> |
patrick@0 | 592 |
<ref name="sup"/> |
patrick@0 | 593 |
</zeroOrMore> |
patrick@0 | 594 |
<zeroOrMore> |
patrick@0 | 595 |
<ref name="sub"/> |
patrick@0 | 596 |
</zeroOrMore> |
patrick@0 | 597 |
<zeroOrMore> |
patrick@12 | 598 |
<ref name="number"/> |
patrick@0 | 599 |
</zeroOrMore> |
patrick@0 | 600 |
<zeroOrMore> |
patrick@0 | 601 |
<ref name="date"/> |
patrick@0 | 602 |
</zeroOrMore> |
patrick@0 | 603 |
<zeroOrMore> |
patrick@0 | 604 |
<ref name="name"/> |
patrick@0 | 605 |
</zeroOrMore> |
patrick@0 | 606 |
<zeroOrMore> |
patrick@5 | 607 |
<ref name="note"/> |
patrick@0 | 608 |
</zeroOrMore> |
patrick@0 | 609 |
<zeroOrMore> |
patrick@0 | 610 |
<ref name="foreign"/> |
patrick@0 | 611 |
</zeroOrMore> |
patrick@0 | 612 |
<zeroOrMore> |
patrick@0 | 613 |
<ref name="highlight"/> |
patrick@0 | 614 |
</zeroOrMore> |
patrick@5 | 615 |
<zeroOrMore> |
patrick@5 | 616 |
<ref name="mentioned"/> |
patrick@5 | 617 |
</zeroOrMore> |
patrick@5 | 618 |
<zeroOrMore> |
patrick@5 | 619 |
<ref name="quote"/> |
patrick@5 | 620 |
</zeroOrMore> |
patrick@8 | 621 |
<zeroOrMore> |
patrick@8 | 622 |
<ref name="acronym"/> |
patrick@8 | 623 |
</zeroOrMore> |
patrick@10 | 624 |
<zeroOrMore> |
patrick@10 | 625 |
<ref name="term"/> |
patrick@10 | 626 |
</zeroOrMore> |
patrick@0 | 627 |
</interleave> |
patrick@0 | 628 |
</mixed> |
patrick@0 | 629 |
</define> |
patrick@0 | 630 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub, sup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 631 |
<define name="sup"> |
patrick@0 | 632 |
<element name="sup"> |
patrick@0 | 633 |
<ref name="inlines"/> |
patrick@0 | 634 |
</element> |
patrick@0 | 635 |
</define> |
patrick@0 | 636 |
<define name="sub"> |
patrick@0 | 637 |
<element name="sub"> |
patrick@0 | 638 |
<ref name="inlines"/> |
patrick@0 | 639 |
</element> |
patrick@0 | 640 |
</define> |
patrick@12 | 641 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ number ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@12 | 642 |
<define name="number"> |
patrick@12 | 643 |
<element name="number"> |
patrick@12 | 644 |
<choice> |
patrick@12 | 645 |
<group> |
patrick@12 | 646 |
<attribute name="type"> |
patrick@12 | 647 |
<value>roman</value> |
patrick@12 | 648 |
</attribute> |
patrick@12 | 649 |
<ref name="number.attributes"/> |
patrick@12 | 650 |
<ref name="number.roman.content"/> |
patrick@12 | 651 |
</group> |
patrick@12 | 652 |
<group> |
patrick@12 | 653 |
<ref name="number.attributes"/> |
patrick@12 | 654 |
<ref name="number.content"/> |
patrick@12 | 655 |
</group> |
patrick@12 | 656 |
</choice> |
patrick@0 | 657 |
</element> |
patrick@0 | 658 |
</define> |
patrick@12 | 659 |
<define name="number.attributes"> |
patrick@12 | 660 |
<optional> |
patrick@12 | 661 |
<ref name="number.value.attribute"/> |
patrick@12 | 662 |
</optional> |
patrick@12 | 663 |
</define> |
patrick@12 | 664 |
<define name="number.value.attribute"> |
patrick@12 | 665 |
<attribute name="value"> |
patrick@12 | 666 |
<choice> |
patrick@12 | 667 |
<data type="integer"/> |
patrick@12 | 668 |
<data type="decimal"/> |
patrick@12 | 669 |
</choice> |
patrick@12 | 670 |
</attribute> |
patrick@12 | 671 |
</define> |
patrick@12 | 672 |
<define name="number.content"> |
patrick@12 | 673 |
<mixed> |
patrick@12 | 674 |
<zeroOrMore> |
patrick@12 | 675 |
<ref name="sup"/> |
patrick@12 | 676 |
</zeroOrMore> |
patrick@12 | 677 |
</mixed> |
patrick@12 | 678 |
</define> |
patrick@12 | 679 |
<define name="number.roman.content"> |
patrick@12 | 680 |
<data type="token"> |
patrick@12 | 681 |
<param name="pattern">[dlxvi]+</param> |
patrick@12 | 682 |
</data> |
patrick@12 | 683 |
</define> |
patrick@0 | 684 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 685 |
<define name="date"> |
patrick@0 | 686 |
<element name="date"> |
patrick@0 | 687 |
<ref name="date.attributes"/> |
patrick@0 | 688 |
<ref name="date.content"/> |
patrick@0 | 689 |
</element> |
patrick@0 | 690 |
</define> |
patrick@0 | 691 |
<define name="date.attributes"> |
patrick@12 | 692 |
<interleave> |
patrick@12 | 693 |
<ref name="date.value.attribute"/> |
patrick@12 | 694 |
<optional> |
patrick@12 | 695 |
<ref name="date.of.attribute"/> |
patrick@12 | 696 |
</optional> |
patrick@12 | 697 |
</interleave> |
patrick@12 | 698 |
</define> |
patrick@12 | 699 |
<define name="date.value.attribute"> |
patrick@12 | 700 |
<attribute name="value"> |
patrick@12 | 701 |
<choice> |
patrick@12 | 702 |
<data type="date"/> |
patrick@12 | 703 |
<data type="gYearMonth"/> |
patrick@12 | 704 |
<data type="gYear"/> |
patrick@12 | 705 |
</choice> |
patrick@12 | 706 |
</attribute> |
patrick@0 | 707 |
</define> |
patrick@0 | 708 |
<define name="date.of.attribute"> |
patrick@0 | 709 |
<attribute name="of"> |
patrick@0 | 710 |
<ref name="date.of.enumeration"/> |
patrick@0 | 711 |
</attribute> |
patrick@0 | 712 |
</define> |
patrick@0 | 713 |
<define name="date.of.enumeration"> |
patrick@0 | 714 |
<choice> |
patrick@0 | 715 |
<value>birth</value> |
patrick@0 | 716 |
<value>death</value> |
patrick@0 | 717 |
</choice> |
patrick@0 | 718 |
</define> |
patrick@0 | 719 |
<define name="date.content"> |
patrick@12 | 720 |
<mixed> |
patrick@12 | 721 |
<zeroOrMore> |
patrick@12 | 722 |
<ref name="sup"/> |
patrick@12 | 723 |
</zeroOrMore> |
patrick@12 | 724 |
</mixed> |
patrick@0 | 725 |
</define> |
patrick@2 | 726 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 727 |
<define name="name"> |
patrick@0 | 728 |
<element name="name"> |
patrick@0 | 729 |
<ref name="name.attributes"/> |
patrick@0 | 730 |
<ref name="name.content"/> |
patrick@0 | 731 |
</element> |
patrick@0 | 732 |
</define> |
patrick@0 | 733 |
<define name="name.attributes"> |
patrick@0 | 734 |
<optional> |
patrick@0 | 735 |
<ref name="name.of.attribute"/> |
patrick@0 | 736 |
</optional> |
patrick@0 | 737 |
</define> |
patrick@0 | 738 |
<define name="name.of.attribute"> |
patrick@0 | 739 |
<attribute name="of"> |
patrick@0 | 740 |
<ref name="name.of.enumeration"/> |
patrick@0 | 741 |
</attribute> |
patrick@0 | 742 |
</define> |
patrick@0 | 743 |
<define name="name.of.enumeration"> |
patrick@0 | 744 |
<choice> |
patrick@0 | 745 |
<value>person</value> |
patrick@0 | 746 |
<value>company</value> |
patrick@0 | 747 |
<value>book</value> |
patrick@0 | 748 |
<value>newspaper</value> |
patrick@0 | 749 |
<value>party</value> |
patrick@0 | 750 |
</choice> |
patrick@0 | 751 |
</define> |
patrick@2 | 752 |
<define name="name.content"> |
patrick@2 | 753 |
<ref name="inlines"/> |
patrick@2 | 754 |
</define> |
patrick@5 | 755 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@5 | 756 |
<define name="note"> |
patrick@5 | 757 |
<element name="note"> |
patrick@5 | 758 |
<ref name="note.attributes"/> |
patrick@5 | 759 |
<ref name="note.content"/> |
patrick@0 | 760 |
</element> |
patrick@0 | 761 |
</define> |
patrick@5 | 762 |
<define name="note.attributes"> |
patrick@0 | 763 |
<optional> |
patrick@5 | 764 |
<ref name="note.label.attribute"/> |
patrick@0 | 765 |
</optional> |
patrick@0 | 766 |
</define> |
patrick@5 | 767 |
<define name="note.label.attribute"> |
patrick@0 | 768 |
<attribute name="label"/> |
patrick@0 | 769 |
</define> |
patrick@5 | 770 |
<define name="note.content"> |
patrick@0 | 771 |
<oneOrMore> |
patrick@0 | 772 |
<ref name="parag"/> |
patrick@0 | 773 |
</oneOrMore> |
patrick@0 | 774 |
</define> |
patrick@12 | 775 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ foreign ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 776 |
<define name="foreign"> |
patrick@0 | 777 |
<element name="foreign"> |
patrick@0 | 778 |
<ref name="foreign.attributes"/> |
patrick@0 | 779 |
<ref name="foreign.content"/> |
patrick@0 | 780 |
</element> |
patrick@0 | 781 |
</define> |
patrick@0 | 782 |
<define name="foreign.attributes"> |
patrick@0 | 783 |
<optional> |
patrick@0 | 784 |
<ref name="lang.attribute"/> |
patrick@0 | 785 |
</optional> |
patrick@0 | 786 |
</define> |
patrick@0 | 787 |
<define name="foreign.content"> |
patrick@0 | 788 |
<ref name="inlines"/> |
patrick@0 | 789 |
</define> |
patrick@0 | 790 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ highlight ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 791 |
<define name="highlight"> |
patrick@0 | 792 |
<element name="highlight"> |
patrick@0 | 793 |
<ref name="highlight.content"/> |
patrick@0 | 794 |
</element> |
patrick@0 | 795 |
</define> |
patrick@0 | 796 |
<define name="highlight.content"> |
patrick@0 | 797 |
<ref name="inlines"/> |
patrick@0 | 798 |
</define> |
patrick@5 | 799 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mentioned ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@5 | 800 |
<define name="mentioned"> |
patrick@5 | 801 |
<element name="mentioned"> |
patrick@5 | 802 |
<ref name="mentioned.content"/> |
patrick@5 | 803 |
</element> |
patrick@5 | 804 |
</define> |
patrick@5 | 805 |
<define name="mentioned.content"> |
patrick@5 | 806 |
<ref name="inlines"/> |
patrick@5 | 807 |
</define> |
patrick@5 | 808 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quote ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@5 | 809 |
<define name="quote"> |
patrick@5 | 810 |
<element name="quote"> |
patrick@5 | 811 |
<ref name="quote.content"/> |
patrick@5 | 812 |
</element> |
patrick@5 | 813 |
</define> |
patrick@5 | 814 |
<define name="quote.content"> |
patrick@5 | 815 |
<ref name="inlines"/> |
patrick@5 | 816 |
</define> |
patrick@8 | 817 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acronym ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@8 | 818 |
<define name="acronym"> |
patrick@8 | 819 |
<element name="acronym"> |
patrick@8 | 820 |
<ref name="acronym.content"/> |
patrick@8 | 821 |
</element> |
patrick@8 | 822 |
</define> |
patrick@8 | 823 |
<define name="acronym.content"> |
patrick@8 | 824 |
<ref name="inlines"/> |
patrick@8 | 825 |
</define> |
patrick@10 | 826 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@10 | 827 |
<define name="term"> |
patrick@10 | 828 |
<element name="term"> |
patrick@10 | 829 |
<ref name="term.content"/> |
patrick@10 | 830 |
</element> |
patrick@10 | 831 |
</define> |
patrick@10 | 832 |
<define name="term.content"> |
patrick@10 | 833 |
<ref name="inlines"/> |
patrick@10 | 834 |
</define> |
patrick@0 | 835 |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
patrick@0 | 836 |
<define name="link"> |
patrick@0 | 837 |
<element name="link"> |
patrick@0 | 838 |
<ref name="link.attributes"/> |
patrick@0 | 839 |
<ref name="link.content"/> |
patrick@0 | 840 |
</element> |
patrick@0 | 841 |
</define> |
patrick@0 | 842 |
<define name="link.attributes"> |
patrick@10 | 843 |
<optional> |
patrick@10 | 844 |
<choice> |
patrick@10 | 845 |
<ref name="uri.attribute"/> |
patrick@10 | 846 |
<ref name="idref.attribute"/> |
patrick@10 | 847 |
</choice> |
patrick@10 | 848 |
</optional> |
patrick@10 | 849 |
</define> |
patrick@10 | 850 |
<define name="uri.attribute"> |
patrick@10 | 851 |
<attribute name="uri"> |
patrick@10 | 852 |
<data type="anyURI"/> |
patrick@10 | 853 |
</attribute> |
patrick@10 | 854 |
</define> |
patrick@10 | 855 |
<define name="idref.attribute"> |
patrick@10 | 856 |
<attribute name="idref"> |
patrick@10 | 857 |
<data type="IDREF"/> |
patrick@10 | 858 |
</attribute> |
patrick@0 | 859 |
</define> |
patrick@0 | 860 |
<define name="link.content"> |
patrick@0 | 861 |
<ref name="inlines"/> |
patrick@0 | 862 |
</define> |
patrick@0 | 863 |
</grammar> |