When encoding <mw>, <pb/>, and <milestone/> elements which coincide with a boundary between two <div> elements, they should be placed between the <div> elements unless they seem logically to belong within one of the <div> elements. Note that a title page is equivalent to a <div> for these purposes.
Thus if a <div> ends on page 22 (for instance, the last paragraph of a chapter is on page 22) and the next <div> starts on the following page, any milestones or forme work (including signatures, press figures, etc.) should be encoded between the two <div> elements, since they are not part of either of the textual divisions. See the example.
The elements associated with the page break should always go in the following order, with the <pb/> first and the <mw type="pageNum"> last:
<milestone unit="sig" n="A1r">