<div>
<div> (text division) contains a subdivision of the front, body, or back of a text. [4.1. Divisions of the Body] | |||||||
Module | textstructure | ||||||
Attributes |
| ||||||
Member of | |||||||
Contained by | |||||||
May contain | core: bibl biblStruct cb cit desc divGen ellipsis gap gb head index l label lb lg list listBibl meeting milestone note noteGrp p pb q quote said sp stage figures: figure notatedMusic table header: biblFull msdescription: msDesc namesdates: listEvent listNym listObject listOrg listPerson listPlace listRelation spoken: annotationBlock | ||||||
Example | <body> <div type="part"> <head>Fallacies of Authority</head> <p>The subject of which is Authority in various shapes, and the object, to repress all exercise of the reasoning faculty.</p> <div n="1" type="chapter"> <head>The Nature of Authority</head> <p>With reference to any proposed measures having for their object the greatest happiness of the greatest number [...]</p> <div n="1.1" type="section"> <head>Analysis of Authority</head> <p>What on any given occasion is the legitimate weight or influence to be attached to authority [...] </p> </div> <div n="1.2" type="section"> <head>Appeal to Authority, in What Cases Fallacious.</head> <p>Reference to authority is open to the charge of fallacy when [...] </p> </div> </div> </div> </body> | ||||||
Schematron | <sch:rule context="tei:div"> <sch:report test="@type != 'textpart' and parent::tei:div and @type!=parent::tei:div/@type"> Divs other than @type=textpart may not nest in divs of different @type </sch:report> </sch:rule> | ||||||
Schematron | <sch:report test="(ancestor::tei:l or ancestor::tei:lg) and not(ancestor::tei:floatingText)"> Abstract model violation: Lines may not contain higher-level structural elements such as div, unless div is a descendant of floatingText. </sch:report> | ||||||
Schematron | <sch:report test="(ancestor::tei:p or ancestor::tei:ab) and not(ancestor::tei:floatingText)"> Abstract model violation: p and ab may not contain higher-level structural elements such as div, unless div is a descendant of floatingText. </sch:report> | ||||||
Content model | <content> | ||||||
Schema Declaration | element div { tei_att.global.attributes, tei_att.divLike.attributes, tei_att.typed.attribute.subtype, tei_att.declaring.attributes, tei_att.written.attributes, attribute type { "apparatus" | "bibliography" | "commentary" | "edition" | "textpart" | "translation" }, ( ( tei_model.divTop | tei_model.global )*, ( ( ( ( tei_model.divLike | tei_model.divGenLike ), tei_model.global* )+ | ( ( ( schemaSpec | tei_model.common ), tei_model.global* )+, ( ( tei_model.divLike | tei_model.divGenLike ), tei_model.global* )* ) ), ( tei_model.divBottom, tei_model.global* )* )? ) } |