The <metadata> element has an info attribute, which defines the name of an element that contains metadata for the target document. Text within the specified element is not considered to be in the default language of the target document, but rather in the default language specified in the Arboreal properties.xml file. If a doctype lacks a metadata section, the value of the name attribute should be the null string.
The <metadata> element contains four required children, which must appear in the specified order:
| author | null |
| title | the filename of the document |
| locator | the filename of the document |
| language | the default language specified in properties.xml |
Example 1: Here is the <metadata> specification for the Archimedes doctype:
<metadata name="info">
<author>/archimedes/info/author/text()</author>
<title>/archimedes/info/title/text()</title>
<locator>/archimedes/info/locator/text()</locator>
<language>/archimedes/info/lang/text()</language>
</metadata>