The element div-type
declares a type of textual division (e.g., title, paragraph, stanza). You may have as many <div-types>
as you wish, and they need not all be used.
For more information, see the section called “One reference system”
This element takes a reserved keyword or IRI + name pattern. See the section called “TAN keywords for types of divisions (<div-type>)” for suggested values.
Formal Definition
~ed-stamp
?, (~inclusion
| (@xml:id
, (<comment>
* & ((<IRI>
+,~metadata-human
) |@which
))))
Used by: ~decl-class-1
Caution | |
---|---|
To avoid ambiguous numerals, no div type should mix Roman and alphabet numerals. |
Example 8.125. <div-type>
<head> ......... <declarations> <work> ......... </work> <div-type xml:id="p"> <IRI>http://dbpedia.org/resource/Page_(paper)</IRI> <name>page</name> </div-type> <div-type xml:id="c"> <IRI>http://dbpedia.org/resource/Column_(typography)</IRI> <name>column</name> </div-type> <div-type xml:id="l"> <IRI>tag:textalign.net,2015:div-type:line:physical</IRI> <name>physical line</name> </div-type> <filter> ......... </filter> </declarations> ......... </head>
Note | |
---|---|
Taken from ar.cat.eng.1926.edghill.obj |
Example 8.126. <div-type>
<declarations> <work> ......... </work> <div-type xml:id="ch"> <IRI>http://dbpedia.org/resource/Chapter_(books)</IRI> <name>chapter</name> </div-type> <div-type xml:id="par"> ......... </div-type> ......... </declarations>
Note | |
---|---|
Taken from ar.cat.eng.1926.edghill.sem |
The element filter
declares alterations that have been made to the source.
Formal Definition
~ed-stamp
?, (<comment>
* & (<normalization>
* &<replace>
* &<transliteration>
*))
Used by: ~test-pattern
, ~decl-class-1
Example 8.127. <filter>
<declarations> ......... <div-type xml:id="l"> ......... </div-type> <filter> <normalization which="no hyphens"/> </filter> </declarations>
Note | |
---|---|
Taken from ar.cat.eng.1926.edghill.obj |
Example 8.128. <filter>
<declarations> ......... <div-type xml:id="pt" which="part"/> <filter> <normalization which="no hyphens"/> </filter> </declarations>
Note | |
---|---|
Taken from ar.cat.eng.1926.edghill.sem |
Example 8.129. <filter>
<declarations> ......... <div-type xml:id="pt" which="part"/> <filter> <normalization which="no hyphens"/> </filter> </declarations>
Note | |
---|---|
Taken from ar.cat.fra.1844.saint-hilaire.sem-native |
Example 8.130. <filter>
<declarations> ......... <div-type xml:id="pt" which="part"/> <filter> <normalization which="no hyphens"/> </filter> </declarations>
Note | |
---|---|
Taken from ar.cat.fra.1844.saint-hilaire.sem |
The element normalization
specifies an alteration made to a source file to bring the transcription into conformity with standards or common expectations. This element is used typically for minor corrections, e.g., suppression of discretionary hyphenation. You should declare every change you have made to the source.
<normalization>
is especially helpful in reference to nondigital sources, but it may be made also for digital sources, to declare global changes that would be cumbersome, difficult, or impossible to describe in <replace>
.
See the section called “TAN keywords for types of normalizations (<normalization>)” for suggested IRI + name values for normalizations. For general discussion see the section called “Normalizing transcriptions”
Formal Definition
~ed-stamp
?, (~inclusion
| ({empty}, (<comment>
* & ((<IRI>
+,~metadata-human
) |@which
))))
Used by: ~decl-filter-content
Note | |
---|---|
Taken from ar.cat.eng.1926.edghill.obj |
Note | |
---|---|
Taken from ar.cat.eng.1926.edghill.sem |
Note | |
---|---|
Taken from ar.cat.fra.1844.saint-hilaire.sem-native |
Note | |
---|---|
Taken from ar.cat.fra.1844.saint-hilaire.sem |
The element replace
contains the equivalent of the XPath replace(
) function plus parameters, indicating a replacement operation that should be, or has been, applied to a digital file.
Multiple <replace>
s will be assumed to have been implemented in document order.
The conventions of this element and its children accord with the definition of the function and its parameters provided at http://www.w3.org/TR/xpath-functions-30/#func-replace
Formal Definition
~ed-stamp
?, (~inclusion
| (<comment>
* & (@regex
,@replacement
,@flags
?)))
Used by: ~decl-filt-repl
The element transliteration
indicates a transliteration scheme that has been applied to a source to convert it from one writing system to another. This element may be useful if it easier to work with a source in the Latin alphabet (for example) rather than a native one.
The scope of this element may be specified through optional <for-lang>
s.
This may be useful for texts easier to handle in a Latin alphabet rather than a native one.
Formal Definition
~decl-pattern-language
Used by: ~decl-filter-content
The attribute replacement
contains a string used to replace any occurrence of <pattern>
Formal Definition
Used by: <replace>