Edit online

Content Key References

Read time: 1 minute(s)

When compared to direct content references, content key references are done with indirect addressing. You first need to define a key for the topic which contains the reused content and make the content key reference using that key.

Small example of content key referencing

Reusable Component from topic reusables.dita:

  <dd id="CPU">
    <ul id="ul_lym_bqd_x4">
      <li>Minimum - <tm tmtype="tm">Intel Pentium III</tm>/<tm tmtype="tm">AMD Athlon</tm>
        class processor, 1 <term>GHz</term>.</li>
      <li>Recommended - Dual Core class processor.</li>

Key definition in DITA Map:

<keydef keys="reusable.install" href="reusables/reusables.dita"/>

Content key reference:

<dd conkeyref="reusable.install/CPU"/>

You can read more about how content key references can be inserted in Oxygen here: https://www.oxygenxml.com/doc/ug-editor/#topics/eppo-create-conkeyref.html