§
<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 | Attributes att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @rendition)) (att.global.responsibility (@cert, @resp)) att.divLikeatt.typed (@type)
| ||||||
Member of | |||||||
Contained by | |||||||
May contain | |||||||
Declaration | element div { attribute type { text }?, ( ( model.divTop | model.global )*, ( ( ( ( ( model.divLike | model.divGenLike ), model.global* )+ ) | ( ( ( model.common ), model.global* )+, ( ( model.divLike | model.divGenLike ), model.global* )* ) ), ( ( model.divBottom ), model.global* )* )? ) } | ||||||
Schematron | <sch:rule context="tei:div[@type = ('abstract', 'acknowledgements')]"> <sch:assert test="parent::tei:front"> Abstracts (<sch:name/>[@type="abstract"]) and acknowledgements (<sch:name/>[@type="acknowledgements"]) may only occur inside front. </sch:assert></sch:rule> | ||||||
Schematron | <sch:rule context="tei:front/tei:div"> <sch:assert test="@type=('abstract', 'acknowledgements')"> Only abstracts (div[@type="abstract"]) and acknowledgements (div[@type="acknowledgements"]) may appear in the <front>. </sch:assert></sch:rule> | ||||||
Schematron | <sch:rule context="tei:div[@type = ('bibliography', 'appendix')]"> <sch:assert test="parent::tei:back"> Bibliography (<sch:name/>[@type="bibliography"]) and appendices (<sch:name/>[@type="appendix"]) may only occur inside back. </sch:assert></sch:rule> | ||||||
Schematron | <sch:rule context="tei:div[@type = ('editorialIntroduction')]"> <sch:assert test="parent::tei:body"> An editorial introduction (<sch:name/>[@type="editorialIntroduction"]) may only occur inside body. </sch:assert></sch:rule> | ||||||
Schematron | <sch:rule context="tei:div[not(@type = ('editorialIntroduction', 'bibliography', 'abstract', 'acknowledgements'))]"> <sch:assert test="tei:head"> A <sch:name/> must contain a head. </sch:assert></sch:rule> | ||||||
Schematron | <s:report test="ancestor::tei:l"> Abstract model violation: Lines may not contain higher-level structural elements such as div. </s:report> | ||||||
Schematron | <s: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. </s:report> | ||||||
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> |