-
Notifications
You must be signed in to change notification settings - Fork 0
/
regulation_web.dtd
1208 lines (956 loc) · 39.4 KB
/
regulation_web.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml encoding="utf-8"?>
<!-- This is version 1.2.2 of the Regulations DTD -->
<!ENTITY % blocktext "(
BilingualGroup
| FormulaGroup
| FormulaDefinition
| FormulaParagraph
| FormGroup
| TableGroup
| SignatureBlock
| Footnote
| Note
| Oath
| ImageGroup
| Provision
| ReadAsText
| QuotedText
| Heading
| AmendedText
| CommentBlock
| PageBreak
| List
| MathMLBlock
)">
<!ENTITY % date "(YYYY, MM, DD)">
<!ENTITY % formula-block "(
FormulaGroup
| ImageGroup
| TableGroup
| Provision
)">
<!ENTITY % inline "(#PCDATA | Sub | Sup | Emphasis
| DefinedTermEn | DefinedTermFr | FootnoteRef
| Language | Leader | LeaderRightJustified | XRefInternal
| XRefExternal | ImageGroup | HistoricalNote
| Repealed | DefinitionEnOnly | DefinitionFrOnly | DefinitionRef | LineBreak
| Ins | Del | CommentInline | Fraction | Date | MathML | FormBlank | HistoricalNoteSubItem)*">
<!ENTITY % inlineDefinedTerm "(#PCDATA | Sub | Sup | Emphasis
| Language | Leader | LeaderRightJustified | XRefInternal
| XRefExternal | ImageGroup | HistoricalNote | Repealed | LineBreak | Ins
| Del | CommentInline | Fraction | Date | MathML)*">
<!ENTITY % math PUBLIC "-//W3C//DTD MathML 2.0//EN" "../../mathml2/mathml2.dtd">
%math;
<!ELEMENT Regulation
(Identification,
Recommendation?,
Notice?,
Repealed?,
(
(Order+, TableOfProvisions?, Body?, ConventionAgreementTreaty?, Schedule*) |
(
TableOfProvisions?,
(
(Body,ConventionAgreementTreaty?, Schedule*, Order?) |
(ConventionAgreementTreaty, Schedule*, Order?) |
(Schedule+, Order?)
)
)
),
RelatedProvision*,
ExplanatoryNote?,
RecentAmendments?)
>
<!ATTLIST Regulation
xml:lang (en|fr) #REQUIRED
regulation-type CDATA #IMPLIED
gazette-part (I | II) #IMPLIED
startdate CDATA #IMPLIED
endtdate CDATA #IMPLIED
reverseTitle CDATA #IMPLIED
alpha CDATA #IMPLIED
hasPreviousVersion CDATA #IMPLIED
>
<!ELEMENT Identification
(LimsAuthority?,InstrumentNumber?, Note?, RegistrationDate?,
LastAmendedDate?, ConsolidationDate?, LastModifiedDate?, EnablingAuthority?,
(ShortTitle, Note*)?,
(LongTitle+, Note?)?,
RunningHead?,
Preamble?,
RegulationMakerOrder?,
Header?,
Footer?)
>
<!ATTLIST Identification
file-number CDATA #IMPLIED
stage CDATA #IMPLIED
drafter-en CDATA #IMPLIED
drafter-fr CDATA #IMPLIED
hasPreviousVersion CDATA #IMPLIED
>
<!ELEMENT RecentAmendments (Amendment+)>
<!ELEMENT Amendment (AmendmentCitation, AmendmentDate)>
<!ELEMENT AmendmentCitation (#PCDATA)>
<!ELEMENT AmendmentDate (#PCDATA)>
<!ELEMENT LimsAuthority (Alpha, AuthorityTitle)>
<!ELEMENT Alpha (#PCDATA)>
<!ELEMENT AuthorityTitle (#PCDATA)>
<!ELEMENT InstrumentNumber (#PCDATA)>
<!ELEMENT RegistrationDate (Date)>
<!ELEMENT LastAmendedDate (Date)>
<!ELEMENT LastModifiedDate %inline;>
<!ELEMENT ConsolidationDate %inline;>
<!ELEMENT EnablingAuthority (XRefExternal+ | OtherAuthority)>
<!ELEMENT OrderDate %inline;>
<!ELEMENT Order
(OrderNumber?, OrderDate?,
(Group | Provision | CommentBlock)+,
HistoricalNote?, Footnote*)
>
<!ELEMENT OtherAuthority %inline;>
<!ELEMENT Organisation (#PCDATA)>
<!ELEMENT RegulationMakerOrder (RegulationMaker, OrderNumber, Date)>
<!ELEMENT OrderNumber %inline;>
<!ELEMENT RegulationMaker %inline;>
<!-- Do not confuse the following element with the
ExplanatoryNotes that appear in Bills -->
<!ELEMENT ExplanatoryNote ( (Group | Provision)+) >
<!ELEMENT Recommendation ( (Group | Provision | CommentBlock)+) >
<!ELEMENT Notice ( (Group | Provision | CommentBlock)+, Footnote*) >
<!ATTLIST Notice
publication-requirement (STATUTORY | ADMINISTRATIVE) #REQUIRED
>
<!ELEMENT TableOfProvisions (Heading | (Label?, Text))+ >
<!ELEMENT Header (Provision*) >
<!ELEMENT Footer (Provision*) >
<!ATTLIST Section
dateValidate CDATA #IMPLIED
iroId CDATA #IMPLIED
iroFid CDATA #IMPLIED
in-force CDATA #IMPLIED>
<!ATTLIST Subsection in-force CDATA #IMPLIED>
<!ATTLIST Paragraph in-force CDATA #IMPLIED>
<!ATTLIST Subparagraph in-force CDATA #IMPLIED>
<!ATTLIST Clause in-force CDATA #IMPLIED>
<!ATTLIST Subclause in-force CDATA #IMPLIED>
<!ATTLIST Subsubclause in-force CDATA #IMPLIED>
<!ATTLIST Definition in-force CDATA #IMPLIED>
<!ATTLIST Schedule
dateValidate CDATA #IMPLIED
iroId CDATA #IMPLIED
iroFid CDATA #IMPLIED
in-force CDATA #IMPLIED>
<!ATTLIST Provision in-force CDATA #IMPLIED>
<!-- This is the regulationcontent portion for version 1.2.2 of the Regulations DTD -->
<!-- ********************************************************** -->
<!-- 2016-01-28 - AP - Add attrs to List to match Bills -->
<!ELEMENT AlternateText (#PCDATA)>
<!-- Old: <!ELEMENT AmendedContent ((Group | Provision)+) > -->
<!ELEMENT AmendedContent ((Group | Provision | Heading)+, HistoricalNote?) >
<!--FIX: AmendedText
Check the parts that will need to be amended. In particular, see if
there is an equivalent to BillInternal, which I removed - maybe there should
be a "RegulationInternal".
-->
<!ELEMENT AmendedText
(LongTitle | Section | Subsection | RelatedProvision | Reserved | Definition | %blocktext; | Schedule | ScheduleFormHeading | OriginatingRef | SectionPiece | Formula | Group)+
>
<!ATTLIST AmendedText
xml:lang (en | fr ) #IMPLIED
change (ins | del | off | alt) #IMPLIED
>
<!ELEMENT BilingualGroup (TitleText?, ((BilingualItemEn, BilingualItemFr)+ |
(BilingualItemFr, BilingualItemEn)+)) >
<!ATTLIST BilingualGroup change (ins | del | off | alt) #IMPLIED >
<!ELEMENT BilingualItemEn %inline; >
<!ATTLIST BilingualItemEn font-style (regular | italic) #IMPLIED >
<!ELEMENT BilingualItemFr %inline; >
<!ATTLIST BilingualItemFr font-style (regular | italic) #IMPLIED >
<!ELEMENT Body (CommentBlock | Section | Heading | RelatedProvision | Reserved | Repealed | Schedule | PageBreak)+ >
<!ELEMENT Caption %inline; >
<!ATTLIST Caption
position (over | under ) "under"
justification (justify | left | right | center) #IMPLIED
change (ins | del | off | alt) #IMPLIED
pointsize (6 | 7 | 8 | 9 | 10 | 11 | 12) #IMPLIED >
<!ELEMENT Citation (
LongTitle
| Section
| Subsection
| Paragraph
| Subparagraph
| SectionPiece
| ScheduleFormHeading
| Schedule
| Definition
| %blocktext;
| Formula
| Group
| RelatedProvision
)+ >
<!ATTLIST Citation
LeftOver CDATA #IMPLIED >
<!ELEMENT Clause
(
CommentBlock*,
Label, Text,
(Subclause | Definition | %blocktext; | ContinuedClause)*,
HistoricalNote?
)
>
<!ATTLIST Clause
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT ContinuedParagraph (CommentBlock*, Text) >
<!ATTLIST ContinuedParagraph
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT ContinuedSubparagraph (CommentBlock*, Text) >
<!ATTLIST ContinuedSubparagraph
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT ContinuedClause (CommentBlock*, Text) >
<!ATTLIST ContinuedClause
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT ContinuedSubclause (CommentBlock*, Text) >
<!ATTLIST ContinuedSubclause
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT ContinuedFormulaParagraph (Text) >
<!ATTLIST ContinuedFormulaParagraph
indent-level (0 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 4.5
| 5 | 5.5 | 6 | 6.5) #IMPLIED
type (normal | transitional ) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!-- Old: <!ELEMENT ContinuedSectionSubsection (Text) > -->
<!ELEMENT ContinuedSectionSubsection (CommentBlock*, Text) >
<!ATTLIST ContinuedSectionSubsection
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT ContinuedDefinition (CommentBlock*, Text) >
<!ATTLIST ContinuedDefinition
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT ConventionAgreementTreaty
(
(Group | Provision | Heading| Citation | RelatedProvision)+,
Schedule*, HistoricalNote?
)
>
<!ELEMENT Date (YYYY, MM, DD) >
<!ATTLIST Date
date-format (en | fr | gb | international) #IMPLIED >
<!-- Old: <!ELEMENT DD (#PCDATA) > -->
<!-- DD besoin de Sup -->
<!ELEMENT DD %inline; >
<!ELEMENT DefinedTermEn %inlineDefinedTerm; >
<!ATTLIST DefinedTermEn
style (bold | italic | normal) #IMPLIED >
<!ELEMENT DefinedTermFr %inlineDefinedTerm; >
<!ATTLIST DefinedTermFr
style (bold | italic | normal) #IMPLIED >
<!ELEMENT DefinitionEnOnly %inlineDefinedTerm; >
<!ELEMENT DefinitionFrOnly %inlineDefinedTerm; >
<!ELEMENT DefinitionRef %inlineDefinedTerm; >
<!ELEMENT Definition
(
CommentBlock*,
MarginalNote*,
(
(Text, (Paragraph | Subparagraph | %blocktext;| ContinuedDefinition)*)
|
(Paragraph, (Paragraph | Subparagraph | %blocktext; | ContinuedDefinition)*)
|
(Subparagraph, (Subparagraph | %blocktext; | ContinuedDefinition)*)
)
)
>
<!ATTLIST Definition
type (normal | transitional ) #IMPLIED
change (ins | del | off | alt) #IMPLIED
generate-in-text (yes | no) "no" >
<!ELEMENT DocumentInternal
(
(Group | Provision | Heading| Citation | RelatedProvision)+,
Schedule*, HistoricalNote?
)
>
<!ELEMENT Emphasis %inline; >
<!ATTLIST Emphasis
style (bold | italic | underline | smallcaps | overbar | regular) #IMPLIED >
<!ELEMENT FigureGroup
(((Label, TitleText?) |
TitleText),
Provision*)
>
<!ELEMENT Footnote (Label, Text, (%blocktext;| Citation)*) >
<!ATTLIST Footnote
id ID #IMPLIED
placement (table | page | section) #IMPLIED
status (official | unofficial | editorial) "official"
change (ins | del | off | alt) #IMPLIED
>
<!ELEMENT FootnoteRef %inline; >
<!ATTLIST FootnoteRef
idref IDREFS #IMPLIED >
<!ELEMENT FormGroup (
AlternateText?,
ScheduleFormHeading?,
(SignatureBlock | Provision | Group | Heading | TableGroup)+,
HistoricalNote?
) >
<!ATTLIST FormGroup
change (ins | del | off | alt) #IMPLIED
>
<!ELEMENT FormHeading ((Label,OriginatingRef?,TitleText*) | TitleText+) >
<!ELEMENT Formula (FormulaText | ImageGroup | MathML)+ >
<!ATTLIST Formula
indent-level (0 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4
| 4.5 | 5 | 5.5 | 6 | 6.5) #IMPLIED
type (normal | transitional ) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT FormulaConnector %inline; >
<!ATTLIST FormulaConnector
indent-level (0 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4
| 4.5 | 5 | 5.5 | 6 | 6.5) #IMPLIED
type (normal | transitional ) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT FormulaDefinition (
FormulaTerm,
Text,
(
(FormulaParagraph | %formula-block;)+,
ContinuedFormulaParagraph?
)*
) >
<!ATTLIST FormulaDefinition
indent-level (0 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4
| 4.5 | 5 | 5.5 | 6 | 6.5) #IMPLIED
type (normal | transitional ) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT FormulaParagraph (
Label,
Text,
(
(FormulaParagraph | %formula-block;)+,
ContinuedFormulaParagraph?
)*
) >
<!ATTLIST FormulaParagraph
indent-level (0 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4
| 4.5 | 5 | 5.5 | 6 | 6.5) #IMPLIED
type (normal | transitional ) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT FormulaGroup (
AlternateText?,
Formula?,
Text?,
FormulaConnector?,
(FormulaDefinition* | FormulaParagraph*),
Footnote?
) >
<!-- DJP: Added the optional Text element after Formula above -->
<!ATTLIST FormulaGroup
id ID #IMPLIED
indent-level (0 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4
| 4.5 | 5 | 5.5 | 6 | 6.5) #IMPLIED
change (ins | del | off | alt) #IMPLIED
>
<!ELEMENT FormulaText %inline; >
<!ELEMENT FormulaTerm %inline; >
<!ELEMENT Fraction (Image?, Numerator, Denominator) >
<!ATTLIST Fraction
style (oblique | horizontal) #IMPLIED >
<!ELEMENT Numerator (#PCDATA | MSup | MSub)* >
<!ELEMENT Denominator (#PCDATA | MSup | MSub)* >
<!-- The following two elements are used within fractions for superscript and
subscript respectively. They have been chosen because they match the
MathML tags for superscript and subscript -->
<!ELEMENT MSup (Base, Superscript) >
<!ELEMENT MSub (Base, Subscript) >
<!ELEMENT Base (#PCDATA) >
<!ELEMENT Superscript (#PCDATA) >
<!ELEMENT Subscript (#PCDATA) >
<!ELEMENT Group
(Heading,
(Group | Provision | Citation | Definition | Reserved)+,
HistoricalNote?)
>
<!ELEMENT Heading
((CommentBlock*, Label, Separator?, OriginatingRef?, HistoricalNote?)?,
MarginalNote?,
(TitleText+, OriginatingRef?, HistoricalNote?)?)
>
<!ATTLIST Heading
style CDATA #IMPLIED
type (normal | amending | transitional) #IMPLIED
level (1 | 2 | 3 | 4 | 5) #IMPLIED
change (ins | del | off | alt) #IMPLIED
>
<!ELEMENT HistoricalNoteSubItem %inline; >
<!ELEMENT HistoricalNote %inline; >
<!ELEMENT ImageGroup (Caption*, AlternateText?, Caption*, Image?) >
<!ATTLIST ImageGroup
bilingual (yes | no) "no"
spanlanguages (yes | no) "no"
spanmarginalnotecol (yes | no) "no"
position (left | right | center | inline) "center"
width CDATA #IMPLIED
change (ins | del | off | alt) #IMPLIED
float (right | left | top | bottom) #IMPLIED
>
<!ELEMENT Image EMPTY >
<!ATTLIST Image
source CDATA #IMPLIED >
<!ELEMENT Item (Label?, Text, List?) >
<!ATTLIST Item space-after CDATA #IMPLIED >
<!ELEMENT Label %inline; >
<!ATTLIST Label
indent (Section | SubSection | Paragraph |
SubParagraph | Clause | SubClause | SubSubClause) #IMPLIED
>
<!ELEMENT Language %inline; >
<!ATTLIST Language
xml:lang (en | fr | la ) #REQUIRED >
<!ELEMENT Leader EMPTY >
<!ATTLIST Leader
leader (solid | dot | dash | none) "none"
length CDATA #IMPLIED >
<!ELEMENT LeaderRightJustified EMPTY >
<!ATTLIST LeaderRightJustified
leader (solid | dot | dash | none) "none" >
<!ELEMENT List (Item+) >
<!ATTLIST List
change (ins | del | off | alt) #IMPLIED
style (arabic | roman-lc | roman-uc | alphabet-lc | alphabet-uc | bullet | en-dash | em-dash) #IMPLIED
subsequent-line-indent CDATA #IMPLIED
first-line-indent CDATA #IMPLIED
justification (justify | left | right | center) #IMPLIED
hyphenation (yes | no) #IMPLIED
pointsize (6 | 7 | 8 | 9 | 10 | 11 | 12) #IMPLIED
keep-with-next (yes | no) #IMPLIED
keep-with-previous (yes | no) #IMPLIED
topmarginspacing CDATA #IMPLIED
xml:lang (en | fr) #IMPLIED
language-align (yes | no) "no" >
<!ELEMENT LongTitle %inline; >
<!ATTLIST LongTitle
type CDATA #IMPLIED >
<!ELEMENT MarginalNote %inline; >
<!ELEMENT MathML (Image?, math) >
<!ELEMENT MathMLBlock (Image?, math) >
<!ELEMENT MM (#PCDATA) >
<!ELEMENT Note %inline; >
<!ATTLIST Note
status (official | unofficial | editorial) "official"
xml:space (default | preserve) "default"
change (ins | del | off | alt) #IMPLIED
>
<!ELEMENT Oath %inline; >
<!ELEMENT OriginatingRef %inline; >
<!ELEMENT Paragraph
(
CommentBlock*,
MarginalNote?,
Label,
Text,
(Subparagraph | Definition | %blocktext; | ContinuedParagraph |Citation)*,
HistoricalNote?
)
>
<!ATTLIST Paragraph
type (normal | amending | transitional) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT Provision
(
MarginalNote?,
Label?,
ProvisionHeading?,
(
Text |
Definition |
AmendedContent |
%blocktext;
)+,
HistoricalNote?
)
>
<!-- FIX: Shouldn't there be @inline on Provision? -->
<!ATTLIST Provision
format-ref CDATA #IMPLIED
xml:lang (en | fr) #IMPLIED
language-align (yes | no) "no"
first-line-indent CDATA #IMPLIED
subsequent-line-indent CDATA #IMPLIED
justification (justify | left | right | center) #IMPLIED
hyphenation (yes | no) #IMPLIED
pointsize (6 | 7 | 8 | 9 | 10 | 11 | 12) #IMPLIED
keep-with-next (yes | no) #IMPLIED
keep-with-previous (yes | no) #IMPLIED
topmarginspacing CDATA #IMPLIED
bottommarginspacing CDATA #IMPLIED
list-item (yes | no) "no"
id ID #IMPLIED
change (ins | del | off | alt) #IMPLIED
type (normal | amending | transitional) #IMPLIED
>
<!ELEMENT ProvisionHeading %inline; >
<!ATTLIST ProvisionHeading
format-ref CDATA #REQUIRED >
<!ELEMENT ReadAsText (Section* | Subsection* | SectionPiece | RelatedProvision | FormulaGroup) >
<!ATTLIST ReadAsText
LeftOver CDATA #IMPLIED
>
<!ELEMENT QuotedText (Section+ | Subsection+ | SectionPiece | RelatedProvision | Text | Provision+)
>
<!ELEMENT RegulationPiece
(
Body |
(CommentBlock | Section | Heading | RelatedProvision | Reserved | Repealed | Schedule | PageBreak)+
)
>
<!ELEMENT Repealed %inline; >
<!ELEMENT Reserved %inline; >
<!ELEMENT Schedule (
ScheduleFormHeading?,
(((RegulationPiece | DocumentInternal | %blocktext; | Schedule | HistoricalNote | ConventionAgreementTreaty | RelatedProvision)*)
| Repealed)
) >
<!ATTLIST Schedule change (ins | del | off | alt) #IMPLIED
id ID #IMPLIED
spanlanguages (yes | no) "no"
bilingual (yes | no) "no"
>
<!ELEMENT ScheduleFormHeading
(
(
Label,
OriginatingRef?,
HistoricalNote?,
(
TitleText+,
OriginatingRef?,
HistoricalNote?
)?
)
|
TitleText+
)
>
<!ATTLIST ScheduleFormHeading
type (normal | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED
>
<!ELEMENT Section
(
CommentBlock*,
MarginalNote?,
Label,
(
(
Text,
(Paragraph | Definition | ContinuedSectionSubsection | %blocktext;)*
)
|
(
(Subsection | Heading)+,
Footnote*
)
),
HistoricalNote?
)
>
<!ATTLIST Section
target CDATA #IMPLIED
type (normal | amending | transitional | CIF) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT SectionPiece (
Definition
| Paragraph
| Subparagraph
| Clause
| Subclause
| Subsubclause
| ContinuedSectionSubsection
| ContinuedParagraph
| ContinuedSubparagraph
| ContinuedClause
| ContinuedSubclause
| ContinuedDefinition
| CommentBlock
)+ >
<!ELEMENT Separator %inline; >
<!ELEMENT ShortTitle %inline; >
<!ELEMENT RunningHead %inline; >
<!ELEMENT SignatureBlock (SignatureLine | SignatureTitle | SignatureName)+ >
<!ATTLIST SignatureBlock
justification (justify | left | right | center) #IMPLIED
width CDATA #IMPLIED >
<!ELEMENT SignatureLine %inline; >
<!ATTLIST SignatureLine
justification (justify | left | right | center) #IMPLIED
topmarginspacing CDATA #IMPLIED
bottommarginspacing CDATA #IMPLIED >
<!ELEMENT SignatureName %inline; >
<!ATTLIST SignatureName
justification (justify | left | right | center) #IMPLIED
topmarginspacing CDATA #IMPLIED
bottommarginspacing CDATA #IMPLIED >
<!ELEMENT SignatureTitle %inline; >
<!ATTLIST SignatureTitle
justification (justify | left | right | center) #IMPLIED
topmarginspacing CDATA #IMPLIED
bottommarginspacing CDATA #IMPLIED >
<!ELEMENT Sub (#PCDATA | Emphasis)* >
<!ELEMENT Subclause
(
CommentBlock*, Label,
Text,
(Subsubclause | Definition | %blocktext; | ContinuedSubclause)*,
HistoricalNote?
)
>
<!ATTLIST Subclause
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT Subparagraph
(
CommentBlock*,
Label,
Text,
(Clause | Definition | %blocktext; | ContinuedSubparagraph)*,
HistoricalNote?
)
>
<!ATTLIST Subparagraph
type (normal | amending | transitional) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT Subsection
(
CommentBlock*,
MarginalNote?,
Label,
Text,
(Paragraph | Definition | ContinuedSectionSubsection | %blocktext;)*,
HistoricalNote?
)
>
<!ATTLIST Subsection
type (normal | amending | transitional) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT Subsubclause (
CommentBlock*, Label,
Text,
(%blocktext; | Definition)*,
HistoricalNote?
) >
<!ATTLIST Subsubclause
type (normal | transitional | amending) #IMPLIED
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT Sup (#PCDATA | Emphasis)* >
<!ELEMENT TableGroup (AlternateText?, Caption?, table, Footnote* ) >
<!ATTLIST TableGroup
pointsize NMTOKEN #IMPLIED
rowbreak (yes | no) "no"
bilingual (yes | no) "no"
spanlanguages (yes | no) "no"
spanmarginalnotecol (yes | no) "no"
orientation (landscape | portrait) #IMPLIED
change (ins | del | off | alt) #IMPLIED
topmarginspacing CDATA #IMPLIED
bottommarginspacing CDATA #IMPLIED
pagebreakafter (yes | no) #IMPLIED
pagebreakbefore (yes | no) #IMPLIED >
<!ELEMENT Text %inline; >
<!ELEMENT TitleText %inline; >
<!ATTLIST TitleText
change (ins | del | off | alt) #IMPLIED >
<!ELEMENT XRefInternal %inline; >
<!ELEMENT XRefExternal %inline; >
<!ATTLIST XRefExternal
reference-type (regulation | act | standard | other | citation) #IMPLIED
link CDATA #IMPLIED >
<!ELEMENT YYYY (#PCDATA) >
<!ELEMENT CommentInline %inline; >
<!ATTLIST CommentInline
security (public | private) "public" >
<!ELEMENT Ins %inline; >
<!ELEMENT Del %inline; >
<!ELEMENT CommentBlock %inline; >
<!ATTLIST CommentBlock
security (public | private ) 'public' >
<!ELEMENT RelatedProvision
(Label, (Source, (Section | Subsection | SectionPiece | Provision)+)+)
>
<!ELEMENT Source %inline; >
<!ELEMENT Preamble (Provision+) >
<!ELEMENT PageBreak EMPTY >
<!ELEMENT LineBreak EMPTY >
<!ELEMENT FormBlank %inline; >
<!ATTLIST FormBlank
width CDATA #REQUIRED >
<!-- ____________________________________________________________________-->
<!-- -->
<!-- REDEFINITION OF CALS XML EXCHANGE ENTITIES -->
<!-- -->
<!-- ____________________________________________________________________-->
<!ENTITY % tbl.entry.mdl "(
#PCDATA
| Sub
| Sup
| Ins
| Del
| Emphasis
| BilingualGroup
| FootnoteRef
| Formula
| XRefInternal
| XRefExternal
| ImageGroup
| Provision
| Language
| SignatureBlock
| Leader
| LeaderRightJustified
| CommentBlock
| Repealed
| List
| MathMLBlock
)*" >
<!-- The following entity declaration was move to here. It needs to be
declared before it is called. -->
<!ENTITY % yesorno 'NMTOKEN'> <!-- no if zero(s), yes if any other value -->
<!-- The following entity was copied from the CALS Exchange DTD.
The definition for "tabstyle" was translated from the full CALS SGML
Exchange table model found here: http://oasis-open.org/specs/tm9502.html -->
<!ENTITY % tbl.table.att "
tabstyle NMTOKEN #IMPLIED " >
<!-- NOTE: The title element isn't defined in the CALS Exchange table model,
but it is referenced. -->
<!ELEMENT title %inline; >
<!ATTLIST title
justification (justify | left | right | center) #IMPLIED
format-ref CDATA #IMPLIED
pointsize (6 | 7 | 8 | 9 | 10 | 11 | 12) #IMPLIED >
<!-- tbl.entry.mdl is redefined in each individual dtd: BillAuthoring.dtd,
BillExchange.dtd, and Statute.dtd -->
<!-- The following code for the XML Exchange Table Model was copied directly
from http://oasis-open.org/specs/tm9901.html -->
<!-- ____________________________________________________________________-->
<!-- -->
<!-- START OF XML EXCHANGE TABLE MODEL DECLARATION MODULE -->
<!-- -->
<!-- ____________________________________________________________________-->
<!-- This set of declarations defines the XML version of the Exchange
Table Model as of the date shown in the Formal Public Identifier
(FPI) for this entity.
This set of declarations may be referred to using a public external
entity declaration and reference as shown in the following three
lines:
<!ENTITY % calstblx
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN">
%calstblx;
If various parameter entities used within this set of declarations
are to be given non-default values, the appropriate declarations
should be given before calling in this package (i.e., before the
"%calstblx;" reference).
-->
<!-- The motivation for this XML version of the Exchange Table Model
is simply to create an XML version of the SGML Exchange Table
Model. By design, no effort has been made to "improve" the model.
This XML version incorporates the logical bare minimum changes
necessary to make the Exchange Table Model a valid XML DTD.
-->
<!-- The XML version of the Exchange Table Model differs from
the SGML version in the following ways:
The following parameter entities have been removed:
- tbl.table.excep, tbl.hdft.excep, tbl.row.excep, tbl.entry.excep
There are no exceptions in XML. The following normative statement
is made in lieu of exceptions: the exchange table model explicitly
forbids a table from occurring within another table. If the
content model of an entry includes a table element, then this
cannot be enforced by the DTD, but it is a deviation from the
exchange table model to include a table within a table.
- tbl.hdft.name, tbl.hdft.mdl, tbl.hdft.excep, tbl.hdft.att
The motivation for these elements was to change the table
header/footer elements. Since XML does not allow element declarations
to contain name groups, and the exchange table model does not
allow a table to contain footers, the continued presence of these
attributes seems unnecessary.
The following parameter entity has been added:
- tbl.thead.att
This entity parameterizes the attributes on thead. It replaces
the tbl.hdft.att parameter entity.
Other miscellaneous changes:
- Tag ommission indicators have been removed
- Comments have been removed from declarations
- NUMBER attributes have been changed to NMTOKEN
- NUTOKEN attributes have been to changed to NMTOKEN
- Removed the grouping characters around the content model
parameter entry for the 'entry' element. This is necessary
so that an entry can contain #PCDATA and be defined as an
optional, repeatable OR group beginning with #PCDATA.
-->
<!-- This entity includes a set of element and attribute declarations
that partially defines the Exchange table model. However, the model
is not well-defined without the accompanying natural language
description of the semantics (meanings) of these various elements,