Specific inline content within entries (span)
Within the content there are areas of information that require identifying by the use of span tags. Use the role attribute to indicate the different types.
|
WRK |
Work (inline) |
|
ETY |
Etymologies |
|
PRO |
Pronunciation |
|
OCC |
Occupation |
|
MEAS |
Measurement (general) |
|
MON |
Measurement (currency) |
|
CTX |
Context (used to distinguish headwords) |
span[@role]
Below is a table listing all the possible types of information that should be identified throughout the content.
|
Content Type |
role |
Details |
|---|---|---|
|
Contextual Information |
|
Usually appears directly after the headword group defining the headword itself (e.g. |
|
Encyclopaedic Information |
|
|
|
Headword/content Origin |
|
Content describing where the headword or term came from (usually a country and/or region). |
|
Example |
|
An example of the headword used within a phrase. Capture the whole phrase in the span tags. |
|
Headword Person Gender |
|
Only found alongside headword. |
|
Contributor list name/initials |
|
Used to identify the main name or word(s) within list items. Specific sections describe its use. |
|
Inflections |
|
Inflected forms of the headword. |
|
Inflection Group |
|
Contains inflections span role="inflection" and other content relating to the inflections. |
|
Headword Keyword |
|
Used within headwords for identifying the word that the headword should be ordered by when not the first word. |
| Measurement (currency) |
money
|
Used within the main text of an article to cover measurements of currency indicated in the content. |
| Measurement (general) |
measurement
|
Used within the main text of an article to cover general measurements indicated in the content. |
|
Persons Nationality. |
|
Found within encyclopaedic information and sense content. Identifies the nationality of a person. Creates a span within a span. |
|
Persons Occupation |
|
Found within encyclopaedic information and sense content. Identifies the occupation of a person. Creates a span within a span. |
|
Pronunciation |
|
Usually associated to different languages or the headword. Content that defines how to pronounce a particular word (sometimes as phonetics). |
|
Repeated Headword |
|
Only for when the headword is repeated within the sense content. |
|
Sense numbered link. |
|
Cross-references to sense numbers. |
|
Short Work |
|
A short work such as an article or short story. |
|
Synonym of headword |
|
Usually individually listed (comma separated) synonyms of the headword found within sense content. |
|
Technical Notes Group |
|
A group of technical notes. |
|
Technical Note |
|
Individual technical notes. Creates a span within a span. |
|
Title (in the sense of a social rank or office) |
|
E.g. "fifth Baron St John of Bletso" |
|
Variant Group |
|
Contains variant variants. |
|
Work |
|
Identifies a work, such as a work of art, literature, or musical composition or recording, etc. |
Context of headword
| CTX | Context of the headword |
Used for defining contextual descriptions of a headword (giving information on the sense or type of headword, e.g. Cinderella (musical) and Cinderella (film)).
Example
Becomes;
<e doi="10.1093/acrefore/9780199975839.013.527" id="acrefore-9780199975839-e-527">
<headwordGroup><headword>ace</headword><partOfSpeech>noun</partOfSpeech>
</headwordGroup>
<section role="main"><textMatter>
<div1>
<p>
<enumerator>1</enumerator>
<span role="context">US</span> A dollar, or a one-dollar
bill. 1925-.</p>
</div1>
<div1>
<p>
<enumerator>2</enumerator>
<span role="example">aces</span>
<span role="context">US</span> Someone or something outstandingly good. 1931-.</p>
<p>
<displayText class="prosequote">
<p>
<sc>american speech</sc> That broad (female) is aces with me (1943).</p>
</displayText>
</p>
</div1>
<!--...--></textMatter>
</section>
</e>