Home > Store

DITA Best Practices: A Roadmap for Writing, Editing, and Architecting in DITA

Register your product to gain access to bonus material or receive a coupon.

DITA Best Practices: A Roadmap for Writing, Editing, and Architecting in DITA

eBook (Watermarked)

  • Your Price: $34.95
  • List Price: $43.69
  • About Watermarked eBooks
  • This PDF will be accessible from your Account page after purchase and requires PDF reading software, such as Acrobat® Reader®.

    The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

    Watermarked eBook FAQ


  • Copyright 2012
  • Dimensions: 7" x 9-1/8"
  • Pages: 304
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-13-247980-X
  • ISBN-13: 978-0-13-247980-6

The Start-to-Finish, Best-Practice Guide to Implementing and Using DITA

Darwin Information Typing Architecture (DITA) is today’s most powerful toolbox for constructing information. By implementing DITA, organizations can gain more value from their technical documentation than ever before. Now, three DITA pioneers offer the first complete roadmap for successful DITA adoption, implementation, and usage.

Drawing on years of experience helping large organizations adopt DITA, the authors answer crucial questions the “official” DITA documents ignore, including: Where do you start? What should you know up front? What are the pitfalls in implementing DITA? How can you avoid those pitfalls?

The authors begin with topic-based writing, presenting proven best practices for developing effective topics and short descriptions. Next, they address content architecture, including how best to set up and implement DITA maps, linking strategies, metadata, conditional processing, and content reuse. Finally, they offer “in the trenches” solutions for ensuring quality implementations, including guidance on content conversion.

Coverage includes:

  • Knowing how and when to use each DITA element–and when not to
  • Writing “minimalist,” task-oriented information that quickly meets users’ needs
  • Creating effective task, concept, and reference topics for any product, technology, or service
  • Writing effective short descriptions that work well in all contexts
  • Structuring DITA maps to bind topics together and provide superior navigation
  • Using links to create information webs that improve retrievability and navigation
  • Gaining benefits from metadata without getting lost in complexity
  • Using conditional processing to eliminate redundancy and rework
  • Systematically promoting reuse to improve quality and reduce costs
  • Planning, resourcing, and executing effective content conversion
  • Improving quality by editing DITA content and XML markup¿

If you’re a writer, editor, information architect, manager, or consultant who evaluates, deploys, or uses DITA, this book will guide you all the way to success.

Also see the other books in this IBM Press series:

  • Developing Quality Technical Information: A Handbook for Writers and Editors
  • The IBM Style Guide: Conventions for Writers and Editors

Sample Content

Online Sample Chapter

Topic-Based Writing in DITA

Table of Contents

Acknowledgments     xviii

About the Authors     xx


Introduction     1



Chapter 1  Topic-Based Writing in DITA     7

Books, Topics, and Webs of Information     7

Advantages of Writing in Topics for Writing Teams     9

    Writers Can Work More Productively     9

    Writers Can Share Content with Other Writers     9

    Writers Can Reuse Topics     10

    Writers Can More Quickly Organize or Reorganize Content     10

    Reviewers Can Review Small Groups of Topics Instead of Long Books     10

DITA Topic Types     10

Task Orientation     12

    Task Analysis     13

Minimalist Writing     16

    Know Your Audience 16

    Remove Nonessential Content     16

    Focus on User Goals, Not Product Functions     16

To Wrap Up     17

Topic-Based Writing Checklist     18

Task analysis form     19

Chapter 2  Task Topics     21

Separate Task Information from Conceptual or Reference Information     22

    Write One Procedure per Topic     22

    Create Subtasks to Organize Long Procedures     22

Task Components and DITA Elements     23

    Titling the Task: <title>     24

    Introducing the Task: <shortdesc>     25

    Adding More Background Information: <context>     25

    Describing Prerequisites: <prereq>     26

    Writing the Procedure: <steps> and <steps-unordered>     28

    Concluding the Task: <example>, <postreq>, and <result>     35

Task Topic Checklist     39

Chapter 3  Concept Topics     41

Describe One Concept per Topic     42

Create a Concept Topic Only if the Idea Can’t Be Covered More Concisely Elsewhere     42

Separate Task Information from Conceptual Information     42

Concept Components and DITA Elements     43

    Titling the Concept Topic: <title>     43

    Introducing the Concept Topic: <shortdesc>     44

    Writing the Concept: <conbody>     44

    Organizing the Concept: <section>     44

    Adding Lists: <ol>, <ul>, <sl>, and <dl>     45

    Including Graphics: <fig>, <title>, and <image>     48

    Highlighting New Terms: <term>     48

To Wrap Up     49

Concept Topic Checklist     50

Chapter 4  Reference Topics     51

Describe One Type of Reference Material per Topic     51

Organize Reference Information Effectively     52

Format Reference Information Consistently     52

Reference Components and DITA Elements     52

    Titling the Reference topic: <title>     53

    Introducing the Reference Information: <shortdesc>     54

    Organizing the Reference Information: <section>     54

    Creating Tables: <table>, <simpletable>, and <properties>     56

    Adding Lists: <ul> and <dl>     58

    Creating Syntax Diagrams: <refsyn> and <syntaxdiagram>     59

To Wrap Up     60

Chapter 5  Short Descriptions     63

The <shortdesc> Element     63

    How the Short Description Is Used     63

Guidelines for Writing Effective Short Descriptions     66

    Briefly State the Purpose of the Topic     67

    Include a Short Description in Every Topic     68

    Use Complete, Grammatical Sentences     69

    Don’t Introduce Lists, Figures, or Tables     70

    Keep Short Descriptions Short     71

Short Descriptions for Task, Concept, and Reference Topics     75

    Task Topic Short Descriptions     75

    Concept Topic Short Descriptions     79

    Reference Topic Short Descriptions     80

Writing Short Descriptions for Converted Content     81

The <abstract> Element     81

    Using More DITA Elements in the Topic Introduction     82

    Including Multiple Short Descriptions     83

To Wrap Up     84

Short Description Examples     85

Short Description Checklist     87


Chapter 6  DITA Maps and Navigation     91

DITA Map Structure     91

    Relationships Between Topics     92

Information Organization     92

Information Modeling     96

    Benefits of Information Modeling     96

    Building Information Models     97

Bookmaps     97

Submaps     98

DITA Map Ownership     101

Include Relationship Tables in DITA Maps     101

Override Topic Titles and Short Descriptions     102

    Navigation Titles     102

Short Descriptions     102

    Provide Unique Short Descriptions for Reused Topics     103

    Provide Short Descriptions for Links to Non-DITA Content     105

Suppressing Topics from the Table of Contents    

Suppressing Content from PDF Output     106

Suppressing Content from HTML Output     107

To Wrap Up     107

Navigation and DITA Maps Checklist     108

Chapter 7  Linking     109

Hierarchical Links     109

Inline Links     111

    Link to Prerequisite and Postrequisite Information     113

    Avoid Inline Links to Tables and Figures in a Topic     114

    Create Inline Links to Repeated Steps     115

    Create Inline Links to High-Level Tasks     115

Control How Links Are Displayed     116

Related Links     117

    Relationship Tables     118

    Implementing Relationship Tables     122

Collection Types     123

    Sequence Collection Type     124

    Choice Collection Type     127

    Unordered Collection Type     128

    Family Collection Type     129

    Determining Which Collection Type to Use     130

    Collection Types in Relationship Tables     131

Links Created with the Importance Attribute     133

Linking Scope     134

    Local Links     136

    External Links     136

    Peer Links     137

Relative Paths for Links     138

Link Testing     138

To Wrap Up     138

Linking Checklist     140

Chapter 8  Metadata    143

Why Is Metadata Important     143

Types of Metadata     144

    Index Entries     145

    Conditional Processing Attributes     149

    Importance, Status, and Translate Metadata Attributes     150

    Topic Metadata     150

    DITA Map Metadata     152

Custom Metadata     154

Metadata Inheritance     155

To Wrap Up     158

Metadata Checklist     158

Chapter 9  Conditional Processing     161

Conditional Processing Attributes     163

Creating a Conditional Processing Scheme     164

    Example of a Conditional Processing Scheme     164

Applying Conditional Processing Attributes     166

    Applying Conditions to Content in Topics     166

    Applying Conditions to DITA Maps and Relationship Tables     169

    Excluding and Including Content     171

    Flagging Content     171

Multiple and Compound Conditions     173

    Multiple Conditions     174

    Compound Conditions     174

    Processing Logic for Multiple and Compound Conditions     174

Identifying Applied Conditional Values     178

Testing Your Scheme     179

Improving Content Retrievability for the Writing Team     179

To Wrap Up     179

Conditional Processing Checklist     180

Chapter 10  Content Reuse     183

Benefits of Reuse     183

Ways to Reuse Content  184  

Reusing Elements by Using Content References     184

    Conref Attribute     187

    Phrase-Level Reuse     190

    Designated Source Files for Conrefs     180

Reusing Topics     192

    Copy-to Attribute     192

Reusing DITA Maps     194

Reusing Content from Non-DITA Sources     195

Writing for Reuse     195

Deciding Which Content to Reuse     196

    Step 1: Analyze Your Content     197

    Step 2: Identify Duplicate and Near Duplicate Content     197

    Step 3: Address the Duplication     197

    Step 4: Reorganize and Rewrite for Reuse     197

    Step 5: Implement the Reuse Strategy     197

Track Your Reuse     198

To Wrap Up     198

Reuse Checklist     199


Chapter 11  Converting Content to DITA     203

Conversion Goals     203

Create a Pilot Team     204

Conversion Process     204

Step 1. Assess the State of Your Content     205

    Content Analysis Worksheet     205

Step 2. Plan the Conversion     207

    Scheduling the Conversion     207

    Converting the Content In-House 208or Hiring a Vendor     208

    Staffing Your Conversion Team     209

    Deciding on a Conversion Strategy     210

    Defining your XML Standard     212

    Establishing Graphics Formats     212

    Establishing DITA File Requirements     214

    Deciding What DITA Topic Types You Nee217d     217

    Establishing an Architecture for Your DITA Ma218ps     218

    Handling Special Structures in Your Source Files    219

Step 3. Prepare the Content for Conversion     219

    Conversion Workshops     221

Step 4. Convert Your Source Files     222

Step 5. Address Postconversion Issues     222

    Phase 1: Address <required-cleanup> Elements     222

    Phase 2: Fix Maps and Linking     222

    Phase 3: Improve Topics     223

    Phase 4: Check for Markup Problems and Do Code Reviews     223

    Phase 5: Exploit DITA     224

Step 6. Evaluate the Conversion Process     224

To Wrap Up     224

Conversion Sizing Table     225

DITA Conversion Checklist     226

Chapter 12  DITA Code Editing     229

Code Reviews     230

    Code Review Benefits     230

Identifying Code Reviewers     232

Limiting the Scope of the Review     232

Preparing for Code Reviews     233

    Using Special Style Sheets for Revealing Problems in the Markup     233

Performing a Code Review     234

    Step 1: Schedule the Code Review     234

    Step 2: Submit the DITA Topics for Review     235

    Step 3: Review the DITA Markup     235

    Common Problems Found in Task Topics     236

    Common Problems Found in Concept Topics     241

    Common Problems Found in Reference Topics     246

    Common Problems Found in All Topic Types     249

    Common Problems Found in DITA Maps     254

    Common Problems Found in Metadata     254

    Step 4: Discuss Review Findings     254

    Step 5: Complete the Code Review     255

Code Reviews for Content Not in Topic Form     255

To Wrap Up     256

Code Review Checklist     257

Chapter 13  Content Editing     259

Defining, Scheduling, and Submitting Content Edits     260

    Defining the Types of Content Edits     260

    Scheduling the Edits     261

    Submitting Content for Edi262ting     262

Providing Editorial Feedback     263

    Inserting Draft Comments     263

    Inserting XML Comments     265

    Tracking Changes     266

    Comparing Original and Edited Files     268

Editing the Content in DITA Topics and Maps     268

    Editing DITA Topics     268

    Editing DITA Maps     269

Editing the Output     270

To Wrap Up     270

Content Editing Checklist     271

Index     273


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020