conkeyref does not work however conref does
Posted: Thu Dec 06, 2018 7:31 pm
Hi,
It's been a couple of years since I've worked with Oxygen. I'm trying to implement a conkeyref but when I publish the doc with a transform I get the error "Unable to find target for conref="../../../common/product_names.dita#sdk" and the reference does not appear in the publication. If I use a conref, the transform succeeds and the referenced text appears.
The main map calls the map that contains my keydef :
prod_names.ditmap is as follows:
the product_names-dita is a concept topic with the following content:
The conkeyref call is in a file named installing_sdk.dita looks like this:
Thanks in advance!
Debbie
It's been a couple of years since I've worked with Oxygen. I'm trying to implement a conkeyref but when I publish the doc with a transform I get the error "Unable to find target for conref="../../../common/product_names.dita#sdk" and the reference does not appear in the publication. If I use a conref, the transform succeeds and the referenced text appears.
The main map calls the map that contains my keydef :
Code: Select all
<topicref href="../maps/prod_names.ditamap" format="ditamap" processing-role="resource-only"/>
Code: Select all
<map>
<title>product names</title>
<topicgroup>
<keydef keys="prod_names" href="../common/product_names.dita"></keydef>
</topicgroup>
</map>
Code: Select all
<concept id="prod_names">
<title>prod_names</title>
<shortdesc></shortdesc>
<conbody>
<p>
<cmdname id="sdk">SDK</cmdname>
</p>
</conbody>
</concept>
Code: Select all
<context>
<ul>
<li>
<cmdname conkeyref="prod_names/sdk"/>
<cmdname>test</cmdname>
<cmdname conref="../../common/product_names.dita#prod_names/sdk"/>
package, which includes the API DLL, header file, and supporting
documentation.</li>
.....
</context>
Debbie