Example of DITA Reference Topic Document

Q

Where can I get an example of a DITA Reference Topic Document?

✍: FYIcenter.com

A

A DITA Reference Topic Document is for topics that describe command syntax, programming instructions, and other reference material, and usually contains detailed, factual material. The XML structure of a DITA Reference Topic Document must meet requirements given in the Reference DTD, reference.dtd.

Here is an example of a DITA Reference Topic Document, DITA-Topic-Reference-Example.xml:

<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="id17BC80J0MKV">
    <title>Embedded Image</title>
    <shortdesc>Description of embedded image.</shortdesc>
    <prolog>
        <author>FYIcenter.com</author>
    </prolog>
    <refbody>
<section><p>An embedded image has the following properties:</p></section>
        <properties>
            <property>
                <proptype>width</proptype>
                <propvalue>100px</propvalue>
                <propdesc>Specifies the width of the image in pixels.</propdesc>
            </property>
            <property>
                <proptype>height</proptype>
                <propvalue>60px</propvalue>
                <propdesc>Specifies the height of the image in pixels.</propdesc>
            </property>
        </properties>
    </refbody>
</reference>

 

Introduction of DITA Document Files

⇒⇒FrameMaker Tutorials

2017-12-09, 769👍, 0💬