Day 18 - Advanced Topics
Day 18 - Advanced Topics
Day 11
Day 12
Day 18
Advanced topics
Day 18: Advanced topics
DITA Primer
Cloud Documentation
Mobile Documentation
DITA
What is DITA
Darwin Information Typing Architecture
Developed by IBM now an OASIS (Organization for the
Advancement of Structured Information Standards) standard
XML-based Darwin Information Typing Architecture (DITA) as an
end-to-end architecture for creating and delivering modular
technical information.
Difference between HTML and XML
HTML defines how content is formatted in a web browser; XML
defines what the content is.
HTML provides a set of predefined tags; XML provides a syntax
that allows users to define their own tags.
Topic
Topic 2
Reference
guide
Topic 3
Installation
Topic 4 guide
Different formats using DITA maps
Topic DITA maps Delivery formats
1
Compiled help CHM
1 2 4
1 2 4
2 3
Print output HTML
1 4
3
1 3 4
4
Website
2 3 4 PDF
2 3 4
Metadata support
DITA supports a variety of standard and custom metadata:
Author information
Copyright information
Product information
Resource IDs for help systems
Document tracking information
Audience information
Keywords
Custom metadata (otherprops)
Metadata is supported using the <prolog> element in topics and
<topicmeta> in maps.
Reuse in DITA
Reuse flows from the topic-based paradigm
Topics can be reused in different contexts
Topics from multiple components can be integrated as a solution
Reuse methods
Element-level reuse with <conref>
Topic-level reuse with <topicref>
Map-level reuse with <navref> and <anchorref>
Conditional reuse
Reference content
Conrefs are a way to reference content from the same or another DITA file.
Example
Code in source file source.dita:
<step id="commonstep">
<cmd>This step exists in a common file and is added with a conref.
</cmd>
</step>
Code in target file B:
<step conref=“source.dita#task/commonstep"><cmd></cmd></step>
Note that the <cmd> tags are included even through they will be replaced by
the conreffed information.
Conditional reuse
DITA gives you four ways of tagging conditionally using AND/OR
logic:
Audience
Platform
Product
Otherprops
Example:
The king and queen of Olympus are <ph
audience="greek">Zeus</ph><ph audience="roman">Jupiter</ph> and
<ph audience="greek">Hera</ph><ph audience="roman">Juno</ph>.
Day 11
Day 12