You are a little off-track here; the keyword element is NOT a metadata element. The keyword element is a generic text element, often used for product names. I think the element that you probably wanted to specify here was the keywords element. Also, you really don't want to write off the othermeta element; it is not deprecated and quite useful.
keywords element
The keywords element can be used either at the topic or map level. It holds a list of terms from a subject vocabulary, tagged with either the keyword or indexterm elements. The keyword and indexterm elements are considered metadata elements, and they should be reflected in output as appropriate for the medium. The indexterm elements commonly generate indices; in XHTML output, the keyword elements generally are added to the XHTML and used for search-engine optimization. (This is standard functionality of the DITA-OT, although the free PDF rendering engine that ships with the DITA-OT does not generate an index.)
data element
Used as-is, the data element represents a property within a DITA topic or map. The following are the key aspects:
- The subject of the property is the element that contains the data element. If the property applies to a topic as a whole, it should go in the topic prolog element or in a topicmeta element in a topicref that points to the topic.
- The @name attribute on the data element is the primary identifier for processors.
- The value of the property can be expressed in several different ways:
- Text value, often expressed using the @value attribute
- Reference to another resource (topic, image, Web resource, etc.), using the @href attribute
- Complex structure that is composed of nested data elements
- You can use an optional title element to provide a label for property.
By default, processors ignore the content of data elements. However, custom processing can be built that uses the content of specific data elements for formatting and so forth.
Used as a basis for specialization, the data element is especially useful. It enables more precise semantics, as well as enumerations of controlled lists of attributes for specific elements. You can see many examples of its use as a specialization base if you examine the metadata elements used in the bookmap and learning & training specializations.
See the data element topic in the DITA 1.2 specification for some concrete examples.
othermeta element
The othermeta element is designed to hold content for which no existing metadata element seems to apply. It essentially holds a name and value pair. You use the @name attribute to name the property and the @content attribute to hold the value.
When should you use which particular element?
- Use the keywords element to specify index terms and keywords that apply to a specific topic, especially when the content of the keywords element should be used in the generated output.
- Use the data element to embed properties within a DITA topic or DITA map, especially as an aid for custom processing or to harvest properties for automated processing.
- Use the data element as a basis for specialization.
- Use the othermeta element to hold name and value pairs for which a semantic element does not exist.