<milestone>
<milestone> (milestone) marks a boundary point separating any kind of section of a text, typically
but not necessarily indicating a point at which some part of a standard reference
system changes, where the change is not represented by a structural element. [3.11.3. Milestone Elements]
Module | core | ||||||||||
Attributes | Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.typed (type) att.spanning (spanTo)
|
||||||||||
Member of | |||||||||||
Contained by |
analysis: w
core: abbr add author bibl cit corr date del editor emph expan foreign gloss head hi imprint item l label lg list listBibl mentioned name note num orig p pubPlace publisher q quote ref reg resp rs sic term time title unclear
corpus: activity
namesdates: addName affiliation birth death faith floruit forename genName langKnown nameLink nationality objectName occupation orgName persName placeName residence roleName settlement sex surname
|
||||||||||
May contain | Empty element | ||||||||||
Note |
For this element, the global n attribute indicates the new number or other value for the unit which changes at this
milestone. The special value unnumbered should be used in passages which fall outside the normal numbering scheme, such as
chapter or other headings, poem numbers or titles, etc.
The order in which milestone elements are given at a given point is not normally significant.
|
||||||||||
Examples |
<milestone n="23" ed="La" unit="Dreissiger"/> ... <milestone n="24" ed="AV" unit="verse"/> ... |
||||||||||
Schematron |
Notes must be typed in the body
<sch:pattern> <sch:rule context="tei:milestone[@unit='section']"> <sch:assert test="ancestor::tei:body">ERROR: Section milestones should be within the body of the text</sch:assert> </sch:rule> </sch:pattern> Notes must be typed in the body
<sch:pattern> <sch:rule context="tei:milestone[@unit='item']"> <sch:assert test="ancestor::tei:text and preceding-sibling::tei:body">ERROR: Item milestones should only occur at the end of the item after the closing body tag.</sch:assert> </sch:rule> </sch:pattern> |
||||||||||
Source | Github
<elementSpec rend="change" module="core" ident="milestone"> <gloss>milestone</gloss> <desc>marks a boundary point separating any kind of section of a text, typically but not necessarily indicating a point at which some part of a standard reference system changes, where the change is not represented by a structural element.</desc> <classes> <memberOf key="att.global"/> <memberOf key="model.milestoneLike"/> <memberOf key="att.milestoneUnit"/> <memberOf key="att.typed"/> <memberOf key="att.spanning"/> </classes> <content> <empty/> </content> <attList> <attDef ident="unit" mode="change"> <valList type="semi" mode="replace"> <valItem ident="section" mode="add"> <gloss>section</gloss> <desc>A horizontal rule representing a shift in section</desc> </valItem> <valItem ident="item" mode="add"> <gloss>item</gloss> <desc>A horizontal rule representing the end of an item</desc> </valItem> </valList> </attDef> </attList> </elementSpec> |