Adding ID to topicref navtitle

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
anna_craneo
Posts: 28

Adding ID to topicref navtitle

Mon Dec 24, 2018 1:10 pm

Hi, I have a map with nested maps that are divided by topichead navtitles regarding their purpose. Then I use DITA -> HTML5 transformation to generate index.html with map structure.

Example:

Code: Select all

<map>
 <topichead navtitle="Feature documentation">
       <topicref href="map1.ditamap" format="ditamap"/>
       <topicref href="map2.ditamap" format="ditamap" collection-type="sequence"/>
      </topichead>
 <topichead navtitle="Release notes">
     <topicref href="map3.ditamap" format="ditamap"/>
  </topichead>
<map>


Can I by any chance add some sort of id to topichead navtitles that will be displayed index.html, like this <topichead id = "ID" navtitle="Feature documentation">"
Radu
Posts: 5930

Re: Adding ID to topicref navtitle

Thu Jan 10, 2019 2:18 pm

Hi Anna,

Sorry for the delay. Right now the @id attribute set on the topicref does not seem to be preserved in the HTML5 output.
Could you tell us more about your use case? What would you use that ID for?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 4 guests