The goal of the WWP’s method for encoding case is twofold: first, to record the actual case of the letters as they appear in the source text; second, to allow for a meaningful presentation of the text even when the original case is not reproduced. In this way words in small capitals or all capitals can be displayed without awkwardness even when it would be impractical or impossible to use the original rendition.
To achieve this, the actual case of the words in the text is captured using the case keyword, while the content of the elements is typed in a standard titling case. We transcribe initial capitals on words which are usually capitalized in modern usage, and the rest in lower case. The possible values are mixed (for normal mixed case, which includes lower case), allcaps (for words in all capital letters), and smallcaps (for words in small capitals).
By the GRACE of our LORD Jesus CHRIST
By the <mcr rend="case(allcaps)">grace</mcr> of our <mcr rend="case(allcaps)">Lord</mcr> <persName rend="case(mixed)">Jesus <hi rend="case(allcaps)">Christ</hi></persName>
The term “small capitals” for the WWP is used to designate text which contains both normal size capital letters and smaller size capital letters. Text which is entirely in one size of capital letters should be encoded as allcaps, since it is difficult to determine (in the absence of two different sizes) whether the text is in small caps or all caps. For more detail, see the entry on small caps.
When encoding words as smallcaps, the letters which are in larger capitals should be typed using uppercase letters, and the letters which are in smaller capitals should be typed using lowercase letters. In the following example, the original text would be printed with the J and the C in large capitals, and the other letters in small capitals:
<persName rend="case(smallcaps)">Jesus Christ</persName>
For more detail, see the entry on small caps.