How to show indexterms in DocBook 5 Webhelp
Posted: Thu Nov 06, 2014 7:34 pm
In DocBook5 using the DocBook Webhelp transformation I would like to get all indexterms to not only appear in the index but also to display in the flow of the generated HTML. Would this be possible through an ANT parameter similar to DITA args.indexshow, a CSS property, or perhaps some other means?
My DocBook v5 XML source looks like this:
After DocBook WebHelp, my HTML output looks like:
I want the HTML output to look like:
So that "black dog" is both an index term and also shows up as text in the HTML.
Thanks,
Craig Westling
My DocBook v5 XML source looks like this:
Code: Select all
<para>I walked a <indexterm><primary>black dog</primary></indexterm> in the park yesterday.</para>
Code: Select all
<p>I walked a <oxygen:indexterm xmlns:oxygen="http://www.oxygenxml.com/ns/webhelp/index" primary="black dog"/> in the park yesterday.</p>
Code: Select all
<p>I walked a <oxygen:indexterm xmlns:oxygen="http://www.oxygenxml.com/ns/webhelp/index" primary="black dog"/>black dog in the park yesterday.</p>
Thanks,
Craig Westling