<metadata>

Metadata is data about data.

Usage information

Elements inside of the <metadata> element provide information about the content and subject of an information resource.

When used in topics, metadata elements that are outside of the <metadata> element generally provide lifecycle information for the content unit, such as the author or copyright.

When used in maps, several metadata elements are allowed both inside and outside of the <metadata> container element. This is done to provide parity with topic prologs.

Content model

<audience> *, <category> *, <keywords> *, <prodinfo> *, <othermeta> *, ( <data> | <sort-as> | <foreign> )*

In order
  1. Zero or more <audience>
  2. Zero or more <category>
  3. Zero or more <keywords>
  4. Zero or more <prodinfo>
  5. Zero or more <othermeta>
  6. Zero or more

Attributes

The following attributes are available on this element: universal attributes.

The following attributes are available on this element: universal attributes.

Example

This section is non-normative.

The following code sample shows how metadata can be provided in a topic about jet packs:

<prolog>
    <metadata>
        <audience type="user" job="flying" experiencelevel="advanced"/>
        <keywords>
            <keyword>jet pack</keyword>
            <keyword>danger</keyword>
            <keyword>liability</keyword>
        </keywords>
    </metadata>
</prolog>