DTD Topic Type Shell Tutorial Step 1: Copy Existing Shell

Create a directory in your workspace to hold the new document type shell, e.g., workspace/myTopicShell. In the myTopicShell directory create the directory dtd.

Find the file topic.dtd in the technical content area of the standard DITA DTD distribution (dtd/technicalContent/dtd/topic.dtd in the files packaged with the Open Toolkit) and copy it into the workspace/myTopicShell/dtd working directory as file myTopic.dtd.

In the myTopicShell directory, create a new XML document named mytopic-test-dtd.xml that uses myTopic.dtd as its document type with this content:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic SYSTEM "dtd/myTopic.dtd">
<topic id="topic-1">
  <title>Topic title</title>
  <body>
    <p>Topic paragraph</p>
  </body>
</topic>

This document serves as your test document to verify that you haven't made any syntax errors in the new shell.

Open this document in your XML editor (e.g., in OxygenXML) and validate it. It should be valid.