Looking at the Eclipse help plug-ins they just use:
<extension point="org.eclipse.help.toc">
<toc file="toc.xml" primary="true" />
</extension>
in each plugin.xml
. The toc.xml
is like yours.
Question
In my application I want to add two help contents. Currently I have only one contents in my help book. To add a new one I have declared another help plugin and Tried to add that in to product dependencies. But my second help did not appear in the help book. Am i missing something here? 2 contents snapshot:
I want to do something like this
Any help on this will be appreciated.
Toc.xml
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="XXX">
<topic label="Main Topic" href="html/maintopic.html">
<topic label="Sub Topic" href="html/subtopic.html"/>
</topic>
<topic label="Main Topic 2"/>
</toc>
No correct solution
OTHER TIPS
Looking at the Eclipse help plug-ins they just use:
<extension point="org.eclipse.help.toc">
<toc file="toc.xml" primary="true" />
</extension>
in each plugin.xml
. The toc.xml
is like yours.