THL Toolbox > Developers' Zone > Web Development > Xml Markup in THL > Titles of Articles and Monographs
There are a several types of document titles that can possibly be encoded in the metadata of an XML essay. Titles are found listed within the teiHeader -> fileDesc -> titleStmt, along with the author's name. The titles are differentiated by their "type" attribute. For example, the full title of an essay would be marked up in the following way:
<TEI.2> <teiHeader lang="eng"> <fileDesc> <titleStmt> <title lang="eng" level="a" type="full">The Three provinces of Mṅa’-ris: Traditional Accounts of Ancient Western Tibet</title> <title lang="eng" level="a" type="brief">The Three provinces of Mṅa’-ris</title> … </titleStmt> … </fileDesc> … </teiHeader lang="eng"> … </TEI.2>
The following values can be used for the title’s "type" attribute are:
- full: This is the full title of the essay including the subtitle after the colon, if there is one. It is used at the beginning of an essay, the header of the first page.
- brief: This is the abbreviated header used in the headers of pages following the first.
- citation: This is an version of the full title to be displayed in HTML display for the citation of the article. In cases where there are diacritics, internal markup, or other things that do not display correctly in the display of the citation, this version of the title may be added. It contains the HTML version of the full title, escaped by the CDATA wrapper in the following way:
<title type="citation"><![CDATA[Review of <i>Thundering Falcon: An Inquiry into the History and Cult of Khra ’brug, Tibet’s First Buddhist Temple</i>, by Per K. Sørensen et al.]]></title>
- browser: This is the version of the title to be used to set the browser window’s title if such is desired. An example is:
<title lang="eng" level="a" type="browser">Monks, by José Cabezón</title>
Note: In the JIATS essays, the markup of the scholarly and popular versions of the title have been separated into two different title elements without a type attribute but with differing rend attributes. <title rend="s"> refers to the scholarly (i.e. Wylie) version of the title. <title rend="p"> refers to the popular (i.e. phonetic) version of the title. This form of the markup is still supported for JIATS essays only.