Skriftlig InfoDITA publishingDITA topicsDITA Concept topic

DITA Concept topic

A concept topic must contain a conceptual description. In most contexts, this means that you use a concept topic to explain what something is, or how it works. The information should expand the reader's understanding when a procedure is done, or contribute information that is "important" for the reader to understand.

On this page

Definitions

Here is the "official" description from Oasis:

Concepts provide background that helps readers understand essential information about a product, a task, a process, or any other conceptual or descriptive information. A concept may be an extended definition of a major abstraction such as a process or function. Conceptual information may explain the nature and components of a product and describe how it fits into a category of products. Conceptual information helps readers to map their knowledge and understanding to the tasks they need to perform and to provide other essential information about a product, process, or system.

Oasis, "Concepts", docs.oasis-open.org, [REF]

I choose to define the concept topic in this way:

DITA Concept topic

A DITA Concept topic is a stand-alone data module containing multimodal text. The module has a title and enough information to convey the necessary information about a task, a process or another similar concept. The information must support the understanding of the tasks that the product performs. A concept topic should thus provide a simple description that help the reader to understand a product's basic characteristics, operation and functions.

In a way, you can say that a concept topic gives the reader information that is "necessary to have" to understand the product. A reference topic conveys information that is "nice to have". This is information that the reader does not strictly need to use the product, but is useful for those who want more detailed information. You who must place the information in one of the two categories. It is useful to discuss this in your professional environment to establish guidelines.

Basic characteristics

A concept topic is easy to use because the structure is open. The information can be presented with all relevant DITA elements, with the exception of those specific to the task topic.

Structure for a concept topic

A DITA concept topic is structured as follows.

<title>

All concept topics must have a title.

<shortdesc>

All concept topics must have a "short description" that defines the context.

<prolog>

This element can be used to insert index information. Index information can also be inserted elsewhere in the topic.

<conceptbody>

This element is used to collect all the information in the topic. See Structure for <conceptbody>.

Of these elements, only <title> and <conceptbody> are mandatory.

Structure for <conceptbody>

The structure in <conceptbody> is open. The basic elements can be placed in random order without important restrictions. It is not useful to explain all the elements here. The most common elements used are:

<p>

<p> is a paragraph that can contain one or more sentences. <p> can be inserted directly under <conceptbody>.

<ul>

<ul> is an unordered list, also called a "bullet list". It can contain one or more points. <ul> can be inserted directly under <conceptbody>. <ul> lists can be nested to create multiple levels. You can also put <ul> lists inside <ol> lists and vice versa.

<ol>

<ol> is an ordered list. It can contain one or more numbered points. <ol> can be inserted directly under <conceptbody>. <ol> lists can be nested to create multiple levels. You can also put <ol> lists inside <ul> lists and vice versa.

It can be tempting to use the <ol> element to create a numbered list, and then call this a procedure. This is not permitted, and it is a direct violation of the entire philosophy that DITA represents. Procedures shall and must be placed in task topics. Concept topics must only contain explanatory and descriptive information.

In some places it is useful to replace the numbers in the list with upper or lower case letters, or perhaps Roman numerals. This is done using attributes, and must be implemented in the style sheet. For example, it is a good idea to use letters when referring to details in an illustration. A list of A, B, C etc. cannot be misunderstood as a procedure.

<dl>

<dl> is a list to explain terms. It is often used to list choices in a menu. It can contain one or more terms. <dl> can be inserted directly under <conceptbody>.

<div>

<div> is used to group underlying elements under a main element. This is useful for profiling (conditional text) and reuse.

<section>

<section> is used to group underlying elements under a main element. This is useful for profiling (conditional text) and reuse. <section> can have a <title>, and the element can be divided further using <sectiondiv> and/or <div>elements.

<example>

<example> is used as the name suggests to describe an example.

If desired, the <conbodydiv> element can also be used to collect information. A <conbodydiv> has the same properties as a <conbody> element. The use of <conbodydiv> and <section> allows you to collect information that belongs together. This can be very useful because any profiling of a <conbodydiv> element will also apply to everything inside. You can also use such elements to collect information in a library, and reuse all the information at the same time.

Similarly, <sectiondiv> and/or <div> can be used inside <section>.

Restriction

What is important about a concept task is the constraint attached to the <conbody> element. This restriction works as follows:

It may sound like this is a limitation that makes use difficult, but this is not the case. In fact, it is quite logical. For example, if you insert a <section> element with a title, and inside this insert plain text, how can the reader see that the content of the <section> element ends and "other" information begins? The title that is used first in the <section> element will apply to all information down to the next title.

Example

Here is an example that describes a (very) short Concept topic.

Example

<concept id="concept">
<title>This is the title that appears in the publication's table of contents</title>
<shortdesc>This is the introductory text that defines the context</shortdesc>
<conbody>
<p>Body text</p>
<section>
<title>This title does not appear in the table of contents, because the concept topic has a flat structure</title>
<p>Body text</p>
<p>Body text</p>
</section>
</conbody>
</concept>

This example imagines a concept topic that contains a title, a single sentence (Body text), and then a <section> with a title and two sentences. When you work in an XML editor, the code will rarely look like this. You also don't have to remember which elements you can use where, because the editor will help you with that.

Related tasks

Creating a new DITA topic from a template

Creating a new DITA topic by duplicating an existing topic

Inserting a topic into a topic map

Inserting a topic into a bookmap


References

  1. Oasis: Concept topic, docs.oasis-open.org, DITA 1.2, 2010, (Link)
  2. Oasis: Concept topic, docs.oasis-open.org, DITA 1.3, 2015, (Link)

All external links open in a new window. I take no responsibility for information on external websites, even if I have linked to them. Please report links that do not work.

The information on this page represents my personal opinions and my understanding of the topic being described. Feel free to link to the page, but do not copy large parts of the content without permission. I take no responsibility for any errors, misunderstandings or missing information. I also take no responsibility for any mistakes you may make or cause as a result of incorrect or missing information. You are welcome to contribute with comments, relevant experiences or additional information. See Editor and contact information.

2022-11-27