◇◆
role Role
Used in several instances:
- On <emphasis>, to specify the type of emphasis formatting;
- On <keywordset>, to indicate origin, authority or possible use; or
- On <phrase>, to provide the purpose of the text phrase.
Usage/Remarks
Authoring Notes
When this attribute is not provided on <emphasis>, a value of “ital” will be assumed.
On <keywordset>, the @role attribute’s value is unconstrained in the production model to permit additional keyword
sets during editing. However, the @role attribute is limited to a single, required value “author” in the authoring model:
role (author) #REQUIRED
OPTIONAL on element: <emphasis>
Value | Meaning |
---|---|
bital | Bold italic font |
bold | Bold font |
ital | Italic font |
rom | Roman font |
under | Underscored font |
Restriction | This attribute may be specified if the element is used. |
OPTIONAL on element: <keywordset>
Value | Meaning |
---|---|
Text, numbers, or special characters | Identifies the function of the keyword set (This attribute is limited to a single, required value “author” in the authoring model.) |
Restriction | This attribute may be specified if the element is used in the production model. (In the authoring model, this attribute must be specified if the element is used.) |
OPTIONAL on element: <phrase>
Value | Meaning |
---|---|
Text, numbers, or special characters | Names the purpose for the textual phrase |
Restriction | This attribute may be specified if the element is used. |
Tagged Samples
Keywords provided by an author
...
<info>
...
<keywordset role="author">
<keyword>New World discoveries</keyword>
<keyword>American colonial history</keyword>
<keyword>English 16th century history</keyword>
</keywordset>
</info>
...
Bold highlighting in table cell
...
<tbody>
<tr valign="top">
<td rowspan="8"><emphasis role="bold">Vegetables</emphasis></td>
</tr>
...
</tbody>
...
Italic highlighting in bibliographic entry (for journal title)
...
<bibliomixed xml:id="dunbar1960" xreflabel="Dunbar 1960">Dunbar,
Gary S. <quote>The Hatteras Indians of North Carolina</quote>.
<emphasis role="ital">Ethnohistory</emphasis> 7, no. 4 (Autumn
1960): 410–418. doi:<biblioid class="doi">10.2307/480877</biblioid>.
</bibliomixed>
...