Skip to content

titlestmt

hubendubler edited this page Oct 29, 2018 · 5 revisions

The titlestmt element provides info about the movie title. It is the parent of one or more title elements that can provide the title as well as sub-titles in multiple languages.

Shorthand

When the titlestmt only contains a title string without any attributes, the shorthand version is recommended. A single title element with the title string as content replaces the outer titlestmt (See shorthand usage).

Languages

The lang attribute can be set both in the titlestmt and the title elements. Its content, when possible, should be a string in the ISO 639-1 format. When used in the titlestmt element, the lang attribute may not be used in its child elements.

Definition

titlestmt = title_shorthand | titlestmt_onelang | titlestmt_mixedlang
fei_element |= titlestmt
fheadcontent |= titlestmt

titlestmt_onelang = element titlestmt {
    attribute lang { xsd:string },
    title_nolang+
}

titlestmt_mixedlang = element titlestmt {
    title+
}

title_nolang = element title {
    attribute type { "subtitle" }?,
    xsd:string
}

title = element title {
    attribute type { "subtitle" }?,
    attribute lang { xsd:string }?,
    xsd:string
}

title_shorthand = element title {
    xsd:string
}

Usage

<titlestmt lang="en">
    <title>The Lord of the Rings</title>
    <title type="subtitle">The Fellowship of the Ring</title>
</titlestmt>
<titlestmt lang="en">
    <title>The Lord of the Rings</title>
    <title type="subtitle">The Fellowship of the Ring</title>
</titlestmt>
<titlestmt>
    <title lang="en">RED</title>
    <title lang="de">R.E.D.</title>
    <title lang="de" type="subtitle">Älter. Härter. Besser.</title>
</titlestmt>

Shorthand variant

Instead of a single title

<titlestmt>
    <title>Father and Daughter</title>
</titlestmt>

this shorthand variant should be used:

<title>Father and Daughter</title>

MEI

The original element was derived from MEI. Visit the MEI Reference element

Clone this wiki locally