Topic reuse with Copy-to attribute in <topicref>

Post here questions and problems related to editing and publishing DITA content.
Jeff_Reynolds
Posts: 37
Joined: Tue Apr 13, 2021 9:48 pm

Topic reuse with Copy-to attribute in <topicref>

Post by Jeff_Reynolds »

Hello

I am trying to reuse a topic in a map, and while the source looks good I can't get a build to inject <topicmeta> into reused topics. Even something as simple as this. Any tips?

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
    <title>The NATO alphabet</title>
    <topicref href="alpha.dita"/>
    <topicref href="bravo.dita"/>
    <topicref href="charlie.dita"/>
    <topicref href="charlie.dita" copy-to="Delta.dita">
        <topicmeta>
            <navtitle>Deltanavtitle</navtitle>
            <linktext>Deltalinktext</linktext>
            <shortdesc>Delta short description text.</shortdesc>
        </topicmeta>
    </topicref>
</map>