What you want works fine when generating *plain* *HTML*, but is currently not implemented when generating Web Help, HTML Help, EPUB, etc, that is, HTML-based formats providing the user with a ``native'' way to navigate between topics.

We'll try to remove this limitation in the next version of ditac.




-------------------------------------
Note than when generating plain HTML:
-------------------------------------

By default, the XXE configuration for DITA maps specifies XSLT stylesheet parameter "chain-topics" as 'yes'.

Because chaining topics this way (topics are linked by the means of small arrow icons) would be redundant with the DITA standard way of chaining topics (a link section found at the bottom of the topic), the links you expect are not generated.

Hence you simply need to specify XSLT stylesheet parameter "chain-topics" as 'no' to achieve what you want when generating plain HTML.




On 02/24/2014 11:40 AM, Niels Grundtvig Nielsen wrote:
Making good progress converting a data dictionary from unmanageable
single Word file into manageable DITA topics, but I've hit a small snag:
I've been advised that collection-type="family" is the way to generate
links between topics at the same level, but I haven't managed to make
this work yet. (even after checking DITA Support in the documentation set)

Here's the code for my tiny test-map. I've included the collection-type
attribute, but generating web-help from the map just gives me topic
pages for the four bsermsg topics and not a link in sight: what I was
hoping for was sibling links.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"
"map.dtd">
<map id="um42hp84">
   <title>Aardvark Specifications and Data Dictionary 2.8</title>
   <topicref href="avk_freq_bs.dita">
     <topicref href="avk_freq_bs_01.dita"/>
     <topicref href="avk_freq_bs_02.dita">
       <topicref href="avk_freq_bs_03.dita"/>
       <topicref href="avk_freq_bs_04.dita"/>
       <topicref href="avk_freq_bs_05.dita"/>
       <topicref href="avk_freq_bs_06.dita"/>
     </topicref>

     <topicref collection-type="family" href="avk_freq_bs_07.dita">
       <topicref href="avk_freq_bsermsg_01.dita"/>
       <topicref href="avk_freq_bsermsg_02.dita"/>
       <topicref href="avk_freq_bsermsg_03.dita"/>
       <topicref href="avk_freq_bsermsg_04.dita"/>
     </topicref>
   </topicref>
</map>

My manager is already impressed with the new web-help version; it would
be satisfying to be able to enrich the navigation with these sibling
links. Thanks in advance for guidance and advice!



--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to