Tei:title

tei:title "contains the title of a work, whether article, book, journal, or series, including any alternative titles or subtitles" (http://www.tei-c.org/P4X/ref-TITLE.html).

Subclasses and attributes
The specific bibliographic level or class of title is indicated by @level. Allowable values are:

a : analytic title (article, poem, or other item published as part of a larger item) m : monographic title (book, collection, or other item published as a    distinct item, including single volumes of multi-volume works) j : journal title s : series title u : title of unpublished material (including theses and dissertations unless    published by a commercial press)

Print
In print sources, titles are displyed differently depending on the bibliographic level involved:


 * level="a" or level="u"
 * Analytic and unpublished titles are commonly displayed in roman type with (humanities) or without (natural sciences) quotation marks.


 * level="m" or level="j"
 * Monographic and journal titles are commonly displayed in print sources using italic type.


 * level="s"
 * Series titles are commonly displayed in roman or italic type.

CSS
If you are attempting to display a TEI XML document directly in a commercial browser, the following CSS fragments can be used to style the element:

Analytic and Unpublished
a. With quotation marks:

title[level="a"], title[level="u"] { quotes: '"' '"' "'" "'" '"' '"' "'" "'"; }

b. Without quotation marks:

title[level="a"], title[level="u"] { }

Monographic and Journal
title[level="m"], title[level="j"] { font-style: italic; }

Series
a. Italic print

title[level="s"] { font-style: italic; }

b. Roman print:

title[level="s"] { }

XSLT
If you are going to convert your TEI XML to XHTML, the following code will produce results that will work in most browsers:

&lt;xsl:template match="title"&gt; &lt;xsl:if test="@level='a'"&gt; &lt;q&gt;&lt;xsl:apply-templates/&gt;&lt;/q&gt; &lt;/xsl:if&gt; &lt;xsl:if test="@level='u'"&gt; &lt;q&gt;&lt;xsl:apply-templates/&gt;&lt;/q&gt; &lt;/xsl:if&gt; &lt;xsl:if test="@level='m'"&gt; &lt;em&gt;&lt;xsl:apply-templates/&gt;&lt;/em&gt; &lt;/xsl:if&gt; &lt;xsl:if test="@level='j'"&gt; &lt;em&gt;&lt;xsl:apply-templates/&gt;&lt;/em&gt; &lt;/xsl:if&gt; &lt;xsl:if test="@level='s'"&gt; &lt;xsl:apply-templates/&gt; &lt;/xsl:if&gt; &lt;/xsl:template match="titl