Different keywords in each submap not resolving
Posted: Thu May 18, 2023 1:32 pm
Hi there
I am working on a catalogue and have the content for each product contained in a map. Each of these maps have two keydefs containing keywords for the product code and product name, e.g.:
Each of these product maps are referenced in a parent map for the whole catalogue.
The 'specification.dita' topic has a two keywords in the first paragraph:
This topic is used in each map and keywords should resolve to use the keydef in that map. Instead, when I publish, only the keywords from the first map are used.
Have I missed something here?
Many thanks
Matt
I am working on a catalogue and have the content for each product contained in a map. Each of these maps have two keydefs containing keywords for the product code and product name, e.g.:
Code: Select all
<map id="ditamap-5910">
<title>Catalogue</title>
<keydef keys="product_name">
<topicmeta>
<keywords><keyword>Product Name A</keyword></keywords>
</topicmeta>
</keydef>
<keydef keys="product_code">
<topicmeta>
<keywords><keyword>Product A</keyword></keywords>
</topicmeta>
</keydef>
<topicref href="topics/product_a.dita">
<topicref href="topics/product_a_description.dita"/>
<topicref href="shared_content/specification.dita"/>
<topicref href="topics/product_a_use_case.dita"/>
<topicref href="topics/product_a_pricing.dita"/>
</topicref>
</map>
The 'specification.dita' topic has a two keywords in the first paragraph:
Code: Select all
<p>The … <keyword keyref="product_name"/> (<keyword keyref="product_code"/>) is the best product.</p>
Have I missed something here?
Many thanks
Matt