Adding ID to topicref navtitle

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
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.


Code: Select all

<topichead navtitle="Feature documentation">
<topicref href="map1.ditamap" format="ditamap"/>
<topicref href="map2.ditamap" format="ditamap" collection-type="sequence"/>
<topichead navtitle="Release notes">
<topicref href="map3.ditamap" format="ditamap"/>
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">"
Posts: 6055

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?

Radu Coravu
<oXygen/> XML Editor

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest