Page 1 of 1

Relationship tables across embedded ditamaps

Posted: Thu Jul 04, 2013 4:42 pm
by kavista
I'm working with a ditamap, that includes a relationship table. Included in the ditamap is a second ditamap containing more topics. When I add topicrefs in the relationship table that link a topic within the main ditamap to a topic listed within the embedded ditamap, the links do not appear in the output.
Is there a particular setting that needs to be included when defining the topicrefs in a relationship table if the topics are in separate ditamaps? Thanks

Re: Relationship tables across embedded ditamaps

Posted: Fri Jul 05, 2013 10:16 am
by Radu
Hi,

Using Oxygen 15.0 (which uses DITA OT 1.7 for publishing) I cannot reproduce this issue.
In the small example I tried to build my master DITA Map is something like this:

Code: Select all

<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/map.dtd">
<map title="Growing Flowers">
<topicref href="topics/introduction.dita"/>
<topicref href="slave.ditamap" format="ditamap"/>
<reltable>
<relrow>
<relcell>
<topicref href="topics/introduction.dita"/>
</relcell>
<relcell>
<topicref href="topic2.dita"/>
</relcell>
</relrow>
</reltable>
</map>
and the slave.ditamap something like:

Code: Select all

<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>DITA Topic Map</title>
<topicref href="topic2.dita"/>
</map>
Then I publish to WebHelp and in both topic2.dita and introduction.dita I have links from one to another.
So maybe you should try to come up with a simplified example to show the problem, you can send us sample files to support@oxygenxml.com.

Regards,
Radu