Referencing strings (the rs element)
Abstract
Use of the rs element
name
phrase-level encoding
author
table of contents
rs
docRole
Encoding Instructions (new P5 version)
The WWP primarily uses rs in tables of contents to encode the title of each item (chapter, etc.). See entry 077 on indices and tables of contents, and 130 on lists. rs is also used to encode proper adjectives, with a type value “properAdjective.” See 244.
Examples
A sample table of contents, using <rs>:
<div type="contents">
<head>The heading for the table goes here.</head>
<list type="toc">
<mw type="listHead">A subhead, if there is one for the page numbers, etc., goes here.</mw>
<!-- NB use multiple <mw> elements for the headings of multiple columns -->
<item>
<label>If there is an identifying number, such as a chapter number, it goes here.</label>
<rs>The title of the item, such as a chapter title, goes here.</rs>
<ref type="pageNum" target="[idref of element here]">The page number goes here.</ref>
</item>
<item><!-- ... --></item>
<!-- ... more <item>s as needed ... -->
</list>
A proper adjective:
<rs type="properAdjective">Scandinavian</rs>