<div>
<div> (text division) contains a subdivision of the front, body, or back of a text. [4.1 Divisions of the Body] | |
Module | textstructure — Default Text Structure |
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
dictionaries: entry entryFree superEntry
figures: figure notatedMusic table
header: biblFull
msdescription: msDesc
namesdates: listEvent listNym listObject listOrg listPerson listPlace listRelation
nets: eTree forest graph listForest tree
tagdocs: classSpec constraintSpec dataSpec eg egXML elementSpec macroSpec moduleSpec outputRendition schemaSpec specGrp specGrpRef
textstructure: argument byline closer dateline div docAuthor docDate epigraph floatingText opener postscript salute signed trailer
transcr: addSpan damageSpan delSpan fw listTranspose metamark space substJoin
|
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: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 |
<rng:element name="div"> element div { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.divLike.attributes, att.metrical.attributes, att.fragmentable.attributes, att.typed.attributes, att.declaring.attributes, att.written.attributes, ( ( model.divTop | model.global )*, ( ( ( ( model.divLike | model.divGenLike ), model.global* )+ | ( ( ( schemaSpec | model.common ), model.global* )+, ( ( model.divLike | model.divGenLike ), model.global* )* ) ), ( model.divBottom, model.global* )* )? ) } |