Attach a file to several instances of a DITA map - Fluid Topics - Latest

Map Attachments

Category
Technical Notes
Audience
public
Version
Latest

The following lines show how to attach the Pufferfish Swim image file to the Novice and Expert instances of the Pufferfish DITA map:

<?xml version='1.0' encoding='utf-8'?>
<controlFile>
  <resources>
    <resource>
      <filePath>_pufferfish.ditamap</filePath>
      <instances>
        <instance>
          <filePath>Novice.ditaval</filePath>
          <attachments>
            <attachment>
              <originId>Yellow</originId>
              <displayName>Pufferfish Swim</displayName>
              <filePath>pufferfish-yellow.png</filePath>
            </attachment>
          </attachments>
        </instance>
        <instance>
          <filePath>Expert.ditaval</filePath>
          <attachments>
            <attachment>
              <originId>Yellow</originId>
              <displayName>Pufferfish Swim</displayName>
              <filePath>pufferfish-yellow.png</filePath>
            </attachment>
          </attachments>
        </instance>
      </instances>
    </resource>
  </resources>
</controlFile>