The ditamap requires specific markup to implement context-sensitive help.
<topicref navtitle="label attribute in contexts.xml topic element"
href="path/to/topic.xml">
<topicmeta>
<searchtitle>Optional text to override the help About title.</searchtitle>
<shortdesc>Text for context description.</shortdesc>
<resourceid id="help_context_ID_string"/>
</topicmeta>
</topicref>
<contexts>
...
<context id="help_context_ID_string"
title="Optional text to override the help About title.">
<description>Text for context description.</description>
<topic label="label attribute in contexts.xml topic element"
href="PLUGINS_ROOT/doc_plugin_ID/path/to/topic.xml"/>
</context>
...
</contexts>
where doc_plugin_ID is the value of the id attribute on the
<map> element.
The following illustration shows how the <searchtitle> and <shortdesc> elements in a DITA map can be transformed into markup in the Eclipse context XML file, and how those items in the context XML file provide the context-specific content rendered in the Help view.
