Appendices and schedules in instrument end matter
Capture appendices, annexes, schedules, etc. of a regulation in the end matter as an appendix element in an appendixGroup group.
/regGroup/regulation/endMatter/appendixGroup/appendix[@role]
Set the role attribute of appendix to
indicate the type of end matter from schedule, annex or appendix. The type may be explicitly indicated
in the numbering (e.g. a division may be labelled "Schedule 2" in the text), or it may be
indicated only in a table of contents.
Capture the appendix number and heading in a titleGroup group and capture the content in a textMatter element.
Example Input text
Output XML
<appendix role="schedule" id="law-ocw-cd710-appendix-2" doi="10.1093/law/oco-cd710.005.02">
<titleGroup><title>
<p>
<enumerator>Schedule 2</enumerator>Modifications of Part I in relation to
judge-arbitrators</p></title>
</titleGroup>
<textMatter><div1 id="law-ocw-cd710-appendix-2-div1-1">
<titleGroup>
<title>
<p>Introductory</p>
</title>
</titleGroup>
<div2 id="law-ocw-cd710-appendix-2-div2-1">
<titleGroup>
<title>
<p>
<enumerator>1.</enumerator>
</p>
</title>
</titleGroup>
<div3 id="law-ocw-cd710-appendix-2-div3-1">
<p>In this Schedule "judge-arbitrator" means a judge of the Commercial Court or
official referee appointed as arbitrator or umpire under section 93.</p>
</div3>
</div2></div1><div1 id="law-ocw-cd710-appendix-2-div1-2">
<titleGroup>
<title>
<p>General</p>
</title>
</titleGroup>
<div2 id="law-ocw-cd710-appendix-2-div2-2">
<titleGroup>
<title>
<p>
<enumerator>2.</enumerator>
</p>
</title>
</titleGroup>
<div3 id="law-ocw-cd710-appendix-2-div3-2">
<p>
<enumerator>(1)</enumerator> Subject to the following provisions of this
Schedule, references in Part I to the court shall be construed in relation to a
judge-arbitrator, or in relation to the appointment of a judge-arbitrator, as
references to the Court of Appeal.</p>
</div3>
<div3 id="law-ocw-cd710-appendix-2-div3-3">
<p>
<enumerator>(2)</enumerator> The references in sections 32(6), 45(6) and 69(8) to
the Court of Appeal shall in such a case be construed as references to the House
of Lords.</p>
</div3>
</div2></div1><!-- ... -->
</textMatter>
</appendix>