<pb>

<pb> (page beginning) marks the beginning of a new page in a paginated document. [3.11.3. Milestone Elements]
Module core
Attributes Attributes att.spanning (spanTo)
facs (facsimile) points to one or more images, portions of an image, or surfaces which correspond to the current element.
Derived from att.global.facs
Status Required
Datatype limdata.facs
Member of
Contained by
May contain Empty element
Note
A pb element should appear at the start of the page which it identifies. The global n attribute indicates the number or other value associated with this page. This will normally be the page number or signature printed on it, since the physical sequence number is implicit in the presence of the pb element itself.
The type attribute may be used to characterize the page break in any respect. The more specialized attributes break, ed, or edRef should be preferred when the intent is to indicate whether or not the page break is word-breaking, or to note the source from which it derives.
Examples Page numbers may vary in different editions of a text.

<p>  ... <pb n="145" ed="ed2"/>
   
<!-- Page 145 in edition "ed2" starts here -->  ... <pb n="283" ed="ed1"/>
   
<!-- Page 283 in edition "ed1" starts here -->  ... </p>
A page break may be associated with a facsimile image of the page it introduces by means of the facs attribute

<body>
   
<pb n="1" facs="page1.png"/>
   
<!-- page1.png contains an image of the page; the text it contains is encoded here -->
   
<p><!-- ... --></p>
   
<pb n="2" facs="page2.png"/>
   
<!-- similarly, for page 2 -->
   
<p><!-- ... --></p>
</body>
Schematron

<sch:rule context="tei:pb[@facs]">
   
<sch:assert test="matches(@facs,'^(lib|pg):\d+$')">ERROR: pb/@facs should be either the Forbes page number (i.e. pg:233 for the page Forbes numbers as 233) or via the page number in the library catalogue using the lib scheme (i.e. lib:22).</sch:assert>
</sch:rule>

<sch:rule context="tei:pb[@facs][not(ancestor::tei:TEI[@xml:id = 'vol11'])]">
   
<sch:let name="facsPtr" value="@facs"/>
   
<sch:let name="allFacs" value="//tei:pb[@facs]"/>
   
<sch:assert test="count($allFacs[contains-token(@facs, $facsPtr)]) = 1">ERROR: Duplicate page beginning:<sch:value-of select="$facsPtr"/>
   
</sch:assert>
</sch:rule>
Source Github

<elementSpec rend="change" module="core" ident="pb">
   
<gloss>page beginning</gloss>
   
<desc>marks the beginning of a new page in a paginated document.</desc>
   
<classes>
      
<memberOf key="att.global.facs"/>
      
<memberOf key="model.milestoneLike"/>
      
<memberOf key="att.spanning"/>
   
</classes>
   
<content>
      
<empty/>
   
</content>
   
<attList>
      
<attDef ident="facs" mode="change" usage="req"/>
   
</attList>
</elementSpec>