<div>

The element div marks a textual unit. Contains other <div>s or text, but not both (no mixed content).

TAN's <div> differs from the TEI's, in that the latter is intended for the first level or levels of subdivision in the front, body, or back of a text, but not for paragraphs or anonymous blocks. The TAN <div> better resembles the one defined by HTML, and can be applied to any kind of division whatsoever., even down to the letter or character level.

Formal Definition

~ed-stamp?, 
   (~inclusion | 
      (@type, @n, @xml:lang?, (<div>+ | text)))

Defined at: TAN-T.rng

Used by: ~body-item, ~text-div

[Caution]Caution

All text must be normalized (Unicode NFC).

[Caution]Caution

Leaf div references must be unique.

[Caution]Caution

An @n taking digit values should not begin with 0.

[Caution]Caution

Every leaf div must have at least some non-space text.

[Caution]Caution

No text may begin with a modifying character.

[Caution]Caution

No text may have a spacing character followed by a modifying character.

[Caution]Caution

No text may have Unicode characters that are disallowed, e.g., U+A0, NO BREAK SPACE.

[Caution]Caution

<div>s may not be mixed with other elements: a <div> must parent either only <div>s or none at all, and may have as siblings only other <div>s.

[Caution]Caution

A <div> must not mix @include with any other attributes.

[Caution]Caution

A <div> must have either @type + @n or @include but not both.

[Important]Important

@n suffices for labeling text in a <div>; the @n's value should not appear in the text.

[Important]Important

concatenated @n's suffice for labeling text in a <div>; the <div>'s reference should not appear in the text.

Example 8.120. <div>

   <body xml:lang="eng">
      <div type="p" n="1">
         <div type="c" n="a">
            <div type="l" n="1">Things are said to be named 'equivocally' when, though they have a common name, the definition corresponding</div>
            <div type="l" n="2">with the name differs for each. Thus, a real man and a figure in a picture can both</div>
            <div type="l" n="3">lay claim to the name 'animal'; yet these are equivocally so named, for, though they have</div>
            .........
         </div>
         <div type="c" n="b">
            .........
         </div>
      </div>
      <div type="p" n="2">
         .........
      </div>
      .........
   </body>


[Note]Note

Taken from ar.cat.eng.1926.edghill.obj