<div>

Validation Information:

Rules Values
Contained by: <back>|<body>|<div>|<front>
May contain: <anchor/>|<delSpan/>|<div>|<floatingText>|<l>|<lb/>|<lg>|<metamark>|<p>|<pb/>|<sp>
Attributes: @n|@rend|@type

 What is it?

The <div> tag divides the<front>, <text>, and <back> tags up in divisions of any kind (chapters, sections, pages, etc.).

Typescripts contain one <div> tag as a child of the <body> tag, with a @type attribute value "typescript".

Manuscript notebooks contain one <div> for every page. They always come in pairs: one for each verso and one for each recto page. Both <div>s have an attribute @type with the value "page", and a @rend attribute with the values "verso" or "recto". See example underneath.


Attributes

The @type attribute explains what kind of division the tag represents. Possible attribute values are:

  • type="typescript"
  • type="page"
  • type="poem"
  • type="act"
  • type="scene"

The @n attribute contains the number of the section, poem, act, such as n="01".

If the <div>'s type is "page", the @n attribute must be the same as the facsimile's name. This is usually the facsimile's page number followed by an r (for recto) or a v (for verso).

If the <div>'s @type is "page", the @rend attribute indicates whether the page is recto (rend="recto") or verso (rend="verso"). 


For example:

<div type="page" rend="verso" n="01v">...</div>
<div type="page" rend="recto" n="02r">...</div>