← Prev in month ← Prev in thread

FW: [dita-comment] Key definition with key reference

From
—
Date
2023-08-08T23:31:00+00:00
ID
<>
Thread
FW: [dita-comment] Key definition with key reference




Fellow DITA geeks, please help out if you follow the commenter s logic
 
Do we need to ask him for a concrete example?
 
Kris
 

From: Denis Troaca <[email protected]>
Sent: Tuesday, August 8, 2023 9:22 AM
To: [email protected]
Subject: [dita-comment] Key definition with key reference

 

According to DITA Specification( https://docs.oasis-open.org/dita/dita/v1.3/os/part1-base/archSpec/base/example-keydef-with-keyref.html ),
if we have a keydef element with a keyref to another key, the first key should pull resources from the second if they are not already present in the initial keydef. Does this rule also apply to child elements of elements within that keydef?

 


Example: 


The initial keydef contains a "topicmeta" element with no "keywords" elements or contains a "topicmeta" with a "keywords" but no "keyword" elements inside and the referenced keydef has a "topicmeta" with "keywords" and "keyword" elements.
Does the initial keydef pull the "keyword" from the referenced keydef or does it keep its empty "topicmeta" element?






← Prev in month ← Prev in thread