Page numbers
When required in the data, capture page numbers using processing instructions (PI) and a page milestone element embedded in the text between the text at the end of one page and that at the start of the next.
| <new page> |
Used in a manuscript for a page break |
| <blank> | Used for a blank page |
When required in the data, place the processing instruction and milestone together before the content of the next page, in the first available place where a text node is allowed by the DTD.
A page break may not be placed inside a url element. If a URL spans two pages in the printed book, capture the page break PI and milestone element after the closing /url tag.
Where there is a blank page separating one section from another, place the PI and milestone for the page at the end of the preceding section, in the last available place where a text node is allowed. If the preceding section ends in a bibList element, place them in the last bibItem within the bibList.
The format of the page processing instruction is:
<?Page pageId="1"?>
The milestone element must have an id, a unit, and a num attribute. That value of the unit is 'page' and the value of num is the page number.
<milestone id="actrade-9780198245353-milestone-1" unit="page" num="1"/>
The milestone is captured immediately after the page processing instruction:
<?Page pageId="6"?>
<milestone num="6" unit="page" id="actrade-9780198245353-milestone-110"/>
Capture page breaks that occur within tables in the first text node on each page.
Example of page-number processing-instructions
<frontMatter>
<miscMatterGroup><miscMatter id="oso-9780199366606-miscMatter-6">
<textMatter>
<p>...end of introduction.<?Page pageId="iv"?>
<milestone unit="page" id="oso-9780199366606-milestone-4" num="iv"/>
</p>
</textMatter></miscMatter>
</miscMatterGroup>
</frontMatter>
<mainText>
<part><titleGroup>
<title>
<p><?Page pageId="1"?>
<milestone unit="page" id="oso-9780199366606-milestone-5" num="1"/>
<enumerator>1</enumerator> First part</p>
</title></titleGroup><textMatter>
<!-- Content skipped for brevity --></textMatter>
</part>
</mainText>
Further example of page-number processing-instructions
<row>
<entry><p>4:34 (38)</p>
</entry>
<entry><p>banish them to their couches, and beat them</p>
</entry>
</row>
<row>
<entry><p><?Page pageId="811"?>
<milestone unit="page" id="oso-9780199366606-milestone-811" num="811"/>19:46 (47)</p>
</entry>
<entry><p>so forsake me now for some while</p>
</entry>
</row>