SlideShare a Scribd company logo
1 of 49
How to write in DITA
Anindita Basu
@anindita_basu
Learning goals
• Understand how DITA is similar to and different from other authoring
frameworks
• Plan and model a document
• Determine the DITA tags you are most likely to use in your day-to-day
work
• Write in DITA
@anindita_basu
@anindita_basu
HTML authoring frameworks
• Difficult to make global changes
• Difficult to handle both new and legacy information
• Difficult to determine information completeness
• Difficult to share across product groups or external partners
@anindita_basu
XML authoring frameworks
• Open standards
• Separation of form from content
• Extensible and meaningful tags
• Tools ecosystem
@anindita_basu
An XML DTD and architecture developed specifically for technical content
@anindita_basu
DITA extends the generic advantages of XML
• Link management
• Conditional processing
• Re-use
@anindita_basu
@anindita_basu
DITA topic types
• Every topic is a complete topic.
• Every topic answers one — and only one — type of question.
@anindita_basu
DITA topic types
• Concept
How does this work? Why should I do this?
• Task
How to do this?
• Reference
What else might I need to know?
@anindita_basu
@anindita_basu
@anindita_basu
DITA tags
• DITA tags are mostly specific to the DITA topic types
• Some DITA tags can be used in any topic type
• Every DITA topic needs some tags that are essential
@anindita_basu
DITA tags
HTML DITA
<title> <title>
<h1>, <h2> … <h6> <title>
<ol> <ol>, <steps>
<li> <li>, <step>, …
<p> <p>
<img> <image>, <fig>
<table> <table>
@anindita_basu
DITA tags
All topic types have the same basic structure:
• ID
• Title
• Body
@anindita_basu
DITA tags
All topic types have the same basic structure:
• ID
• Title
• Body
@anindita_basu
DITA tags
All topic types have the same basic structure:
• ID
• Title
• Body
@anindita_basu
DITA tags
• Concept
Text, images, lists, tables, and contained within sections that can have individual titles.
• Task
Prerequisites, steps, results, and post-requisites. Also, text, images, lists, and tables.
• Reference
Text, images, lists, and tables.
@anindita_basu
DITA tags
<shortdesc>
<taskbody>
<title><task>
<context>
<steps><prereq> <example>
<result> <postreq>
The order of
the tags is
important!
@anindita_basu
DITA tags
@anindita_basu
@anindita_basu
DITA maps
@anindita_basu
DITA maps
Maps show the relationships and the connectivity for a set of disparate
objects that are otherwise stand-alone entities.
@anindita_basu
DITA maps
• Specify which of the topics must be shown in a table of contents
• Specify which of the topics need to be build for a specific output
• Define links between related topics
@anindita_basu
DITA maps
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
Automatic link generation:
• Sequence
• Family
@anindita_basu
DITA maps
@anindita_basu
DITA maps
Topics in a row:
• Default behaviour: Each topic in a column has links to all topics in the other
columns of that row, and vice versa.
• Source-only linking: A topic in one column links to the topics in the other
columns but the topics in the other column do not link back to the linking
topic.
• Target-only linking: A topic in one column has links from topics in the other
columns but does not link to them.
@anindita_basu
DITA maps
Topics in a cell:
• The topics within a cell do not link to each other but all topics in one
cell of a column link individually to all topics in another cell of a
column.
• To make the topics within a cell to link to each other, you must specify
a collection-type attribute for the cell.
@anindita_basu
@anindita_basu
DITA conref
@anindita_basu
Reuse in DITA
• Content reuse: Reusing the content itself
• Design reuse: Reusing the design of the content
• Process reuse: Reusing the process by which DITA content is
generated
@anindita_basu
DITA conref
• Every element has a 'conref' attribute.
• This attribute points to any other equivalent element in the same or
any other topic.
• It is a link that establishes a use-by-reference relationship.
• This relationship allows content from one topic to be referenced in
multiple places.
Backup slides
@anindita_basu
DITA and SEO
@anindita_basu
DITA and SEO
Search engines:
• Focus on specific tags in the text
• Do not understand images
• Are confused by tables
@anindita_basu
DITA and SEO
• Never leave the <title> element blank.
• Use the <searchtitle> tag for a more wordy and descriptive title.
• Always give a meaningful <shortdesc>. Never leave it blank.
• Always provide ALT text for images.
• Always provide a table summary (<desc>).
• Never have an orphan topic. (use relationship tables).
@anindita_basu
Best practices
@anindita_basu
Best practices
Concept Task Reference
Must
have
• At least one
paragraph
• A link to a task topic
• Context
• Steps
• At least one
paragraph
• A link to a task
topic
Nice to
have
• Conceptual diagram • Results
• What to do next
• A link to a
troubleshooting
topic
• UI description
• Field-value
tables,
parameters, …
Review • Description of the UI
• Numbered lists with
instructions
• Description of the
UI
• Field-value tables
• Conceptual
information
@anindita_basu
Best practices
• One single file for all conrefs
• Topic linking through DITA maps only
@anindita_basu
Challenges
@anindita_basu
Best practices
• The writing "thinking" needs a complete reorientation.
• Semantic tagging takes a while to get used to.
• Short descriptions are often the hardest 2 - 3 sentences to write in
any topic.

More Related Content

Similar to How to write in DITA

Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
Mediacurrent
 
DITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IIDITA Quick Start for Authors Part II
DITA Quick Start for Authors Part II
Suite Solutions
 
Ds03 data analysis
Ds03   data analysisDs03   data analysis
Ds03 data analysis
DotNetCampus
 

Similar to How to write in DITA (20)

How DITA Got Her Groove Back: Going Mapless with Don Day
How DITA Got Her Groove Back: Going Mapless with Don DayHow DITA Got Her Groove Back: Going Mapless with Don Day
How DITA Got Her Groove Back: Going Mapless with Don Day
 
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse? TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
 
DITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IIDITA Quick Start for Authors Part II
DITA Quick Start for Authors Part II
 
EAD3 Progress Report 2014-08-13
EAD3 Progress Report 2014-08-13EAD3 Progress Report 2014-08-13
EAD3 Progress Report 2014-08-13
 
DITA 1.3: What's New and Different
DITA 1.3: What's New and DifferentDITA 1.3: What's New and Different
DITA 1.3: What's New and Different
 
DITA-Workshop on Saturday 5 May 2018 at Pune
DITA-Workshop on Saturday 5 May 2018 at PuneDITA-Workshop on Saturday 5 May 2018 at Pune
DITA-Workshop on Saturday 5 May 2018 at Pune
 
Exhibits and Presenters
Exhibits and PresentersExhibits and Presenters
Exhibits and Presenters
 
Introduction to birt
Introduction to birtIntroduction to birt
Introduction to birt
 
Webcast: DITA Best Practices
Webcast: DITA Best PracticesWebcast: DITA Best Practices
Webcast: DITA Best Practices
 
The Evolution of DITAs
The Evolution of DITAsThe Evolution of DITAs
The Evolution of DITAs
 
DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016
DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016
DITA Surprise, Unwrapping DITA Best Practices - tekom tcworld 2016
 
Project Management With SharePoint
Project Management With SharePointProject Management With SharePoint
Project Management With SharePoint
 
Ds03 data analysis
Ds03   data analysisDs03   data analysis
Ds03 data analysis
 
Single Source Publishing: Utilizing XML and DITA
Single Source Publishing: Utilizing XML and DITASingle Source Publishing: Utilizing XML and DITA
Single Source Publishing: Utilizing XML and DITA
 
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
 
An autodesk revit basic schedule tips
An autodesk revit basic schedule tipsAn autodesk revit basic schedule tips
An autodesk revit basic schedule tips
 
DITA and SEO
DITA and SEODITA and SEO
DITA and SEO
 
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuningSQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning
 
Color Me Flexible
Color Me FlexibleColor Me Flexible
Color Me Flexible
 

More from Anindita Basu (7)

API documentation
API documentationAPI documentation
API documentation
 
Earthquakes
EarthquakesEarthquakes
Earthquakes
 
Arthashastra and Technical Writing
Arthashastra and Technical WritingArthashastra and Technical Writing
Arthashastra and Technical Writing
 
Urdu with the Oxford Dictionaries API
Urdu with the Oxford Dictionaries APIUrdu with the Oxford Dictionaries API
Urdu with the Oxford Dictionaries API
 
Through the Looking Glass: When technical writers turn API users
Through the Looking Glass: When technical writers turn API usersThrough the Looking Glass: When technical writers turn API users
Through the Looking Glass: When technical writers turn API users
 
Less BS, More Empathy
Less BS, More EmpathyLess BS, More Empathy
Less BS, More Empathy
 
The Kindle UI redesign project
The Kindle UI redesign projectThe Kindle UI redesign project
The Kindle UI redesign project
 

Recently uploaded

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 

How to write in DITA

Editor's Notes

  1. Icebreaker: Read the handout
  2. Exercise 2: Create a manual
  3. Song exercise
  4. Exercise 3: Recast the manual according to the topic types
  5. Exercise 4: Mark the manual up with DITA tags
  6. Exercise 5: Look at your ToC and think about links.