<div>

Validation Information:

[table border="1" colwidth="115"]

Rules,Values

Contained by:,<>|<>|<>|<>
May contain:,<
>|</>|<>|<>|<>|<>|<>|<metamark>|<p>|<>|<>
Attributes:,@n|@rend|@type
[/table]


 What is it?

The <div> tag divides the" href="https://bdmpmanual.uantwerpen.be/index.php/encoding-text/text/"><text>, and Typescripts contain one <div> tag as a child of the 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:

[xml] &lt;div type="page" rend="verso" n="01v"&gt;…&lt;/div&gt;
&lt;div type="page" rend="recto" n="02r"&gt;…&lt;/div&gt;[/xml]