<category>

A category is a group of things that have shared characteristics.

Usage information

A category can be used to classify content for navigation or retrieval. Such classifications are likely to come from an enumerated or hierarchical set. A processor might sort topics based on the associated categories and create a type of generated navigation.

Content model

(Text | <data> | <sort-as> | <foreign> | <keyword> | <term> | <text> )*

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 that a topic is associated with three categories:

<prolog>
  <metadata>
   <category>History</category>
   <category>Non-fiction</category>
   <category>Editors' choice</category>
  </metadata>
</prolog>