Create DITA content with multiple same conkeyrefs
Posted: Thu Sep 06, 2018 5:02 am
We would like to create DITA content with conkeyref.
conkeyref defines several identical keys,
For example, I would like to control which keys are referred to by filtering with keys such as ditavalref.
In the case of inserting an element to be referenced by selecting a key to be reused from the GUI of oXygen,
We seems it is useful to use the Reuse Content window or the DITA Reusable Components view.
However, if more than one same conkey ref key is defined, the Reuse Content window will only refer to the previously defined key.
In the Components tab of the DITA Reusable Components view, all the keys are displayed.
After defining multiple conkeyrefs of the same key, we want to distinguish which key to use,
for example in a way like ditavalref, and display only one of the keys in these views.
ditavalref does not have to be used necessarily.
It is not necessary to use Reuse Content window or DITA Reusable Components view only. We can also use other UI.
Is there a way to display only one of the keys in these views?
conkeyref defines several identical keys,
For example, I would like to control which keys are referred to by filtering with keys such as ditavalref.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
<bookmap>
<booktitle>
<mainbooktitle>Autoring Test</mainbooktitle>
</booktitle>
<frontmatter>
<ditavalref href="ja.ditaval"/>
<topicref keys="IMG" targetDestination="ja" href="cImageDefinition-ja.dita"/>
<topicref keys="IMG" targetDestination="en" href="cImageDefinition-en.dita"/>
</frontmatter>
<chapter navtitle="Image Authoring Test">
<topicref href="cImageAuthoringTest.dita" format="dita"/>
</chapter>
</bookmap>
We seems it is useful to use the Reuse Content window or the DITA Reusable Components view.
However, if more than one same conkey ref key is defined, the Reuse Content window will only refer to the previously defined key.
In the Components tab of the DITA Reusable Components view, all the keys are displayed.
After defining multiple conkeyrefs of the same key, we want to distinguish which key to use,
for example in a way like ditavalref, and display only one of the keys in these views.
ditavalref does not have to be used necessarily.
It is not necessary to use Reuse Content window or DITA Reusable Components view only. We can also use other UI.
Is there a way to display only one of the keys in these views?