<div>
text division
contains a subdivision of the front, body, or back of a text.
Module textstructureDSDIV
Attributes
Global and inherited attributes:
Classes and content
- Member of
- May contain
cmc
core
dictionaries
figures
header
msdescription
tagdocs
textstructure
- Contained by
Example
<body>
<div type="part" xml:id="DS-fallacies-of-authority">
<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" xml:id="DS-the-nature-of-authority">
<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" xml:id="DS-analysis-of-authority">
<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" xml:id="DS-appeal-to-authority-in-what-cases-fallacious">
<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
<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="abstractModel-structure-div-in-l" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:l//tei:div">
<sch:assert test="ancestor::tei:floatingText">
Abstract model violation: Metrical lines (<l> elements) may not contain higher-level structural elements such as <div>, unless <div> is a descendant of <floatingText>.
</sch:assert>
</sch:rule>
</constraint>
</constraintSpec><constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="abstractModel-structure-div-in-ab-or-p" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:div">
<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>
</sch:rule>
</constraint>
</constraintSpec>Content model
<content>
<sequence>
<alternate minOccurs="0" maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
</alternate>
<sequence minOccurs="0">
<alternate>
<sequence minOccurs="1" maxOccurs="unbounded">
<alternate>
<classRef key="model.divLike"/>
<classRef key="model.divGenLike"/>
</alternate>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence>
<sequence minOccurs="1" maxOccurs="unbounded">
<alternate minOccurs="1" maxOccurs="1">
<elementRef key="schemaSpec"/>
<classRef key="model.common"/>
</alternate>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0" maxOccurs="unbounded">
<alternate>
<classRef key="model.divLike"/>
<classRef key="model.divGenLike"/>
</alternate>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</alternate>
<sequence minOccurs="0" maxOccurs="unbounded">
<classRef key="model.divBottom"/>
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</sequence>
</content>