skip to main content
Authoring Source Documents » DITA - XML » Using the data element
Using the data element
This section explains how to use the <data> element in DITA source documents. The data element allows insertion of arbitrary marker style data similar to the <othermeta> element. Unlike the <othermeta> element, the <data> element can be used throughout a topic, just like a marker.
Using the data element to insert markers
The <data> element represents a property within a DITA topic or map. You can use the <data> element to insert a marker type anywhere on your page. Here is an example of the <data> element: <data name =”TOCIcon” value = “red.png”/>. In this example, our marker name is TOCIcon, and is using the value of red.png.
For more information on the <data> element see https://docs.oasis-open.org/dita/v1.2/os/spec/langref/data.html
Was this helpful?
Last modified date: 11/13/2024