Jump to content

Darwin Information Typing Architecture

From Wikipedia, the free encyclopedia
DITA
Darwin Information Typing Architecture
AbbreviationDITA
StatusPublished
First publishedJune 2005; 19 years ago (2005-06)
Latest versionDITA 1.3
Part0:Overview
Part1:Base Edition
Part2:Technical Content Edition
Part3:All-Inclusive Edition
June 19, 2018; 6 years ago (2018-06-19)
OrganizationOASIS
CommitteeDITA TC
EditorsRobert D. Anderson, Kristen James Eberlein
Base standardsXML, HTML
DomainInformation Typing
Websitedita-lang.org

The Darwin Information Typing Architecture (DITA) specification defines a set of document types for authoring and organizing topic-oriented information, as well as a set of mechanisms for combining, extending, and constraining document types.[1] It is an open standard[2] that is defined and maintained by the OASIS DITA Technical Committee.[3]

The name derives from the following components:

  • Darwin: it uses the principles of specialization and inheritance, which is in some ways analogous to the naturalist Charles Darwin's concept of evolutionary adaptation,
  • Information Typing: which means each topic has a defined primary objective (procedure, glossary entry, troubleshooting information) and structure,
  • Architecture: DITA is an extensible set of structures.[4]

Features and limitations

[edit]

Content reuse

[edit]

Topics are the foundation for content reuse,[5] and can be reused across multiple publications. Fragments of content within topics can be reused through the use of content references (conref or conkeyref), a transclusion mechanism.[6]

Information typing

[edit]

The latest version of DITA (DITA 1.3) includes five specialized topic types: Task, Concept, Reference, Glossary Entry, and Troubleshooting. Each of these five topic types is a specialization of a generic Topic type, which contains a title element, a prolog element for metadata, and a body element. The body element contains paragraph, table, and list elements, similar to HTML.

  • A Task topic is intended for a procedure that describes how to accomplish a task. It lists a series of steps that users follow to produce an intended outcome. The steps are contained in a taskbody element, which is a specialization of the generic body element. The steps element is a specialization of an ordered list element.
  • Concept information is more objective, containing definitions, rules, and guidelines.
  • A Reference topic is for topics that describe command syntax, programming instructions, and other reference material, and usually contains detailed, factual material.
  • A Glossary Entry topic is used for defining a single sense of a given term. In addition to identifying the term and providing a definition, this topic type might also have basic terminology information, along with any acronyms or acronym expansions that may apply to the term.
  • The Troubleshooting topic describes a condition that the reader may want to correct, followed by one or more descriptions of its cause and suggested remedies.

Maps

[edit]

A DITA map is a container for topics used to transform a collection of content into a publication. It gives the topics sequence and structure. A map can include relationship tables (reltables) that define hyperlinks between topics.[7] Maps can be nested: they can reference topics or other maps, and can contain a variety of content types and metadata.

Metadata

[edit]

DITA includes extensive metadata elements and attributes, both at topic level and within elements.[8] Conditional text allows filtering or styling content based on attributes for audience, platform, product, and other properties. The conditional processing profile (.ditaval file) is used to identify which values are to be used for conditional processing.[9]

Specialization

[edit]

DITA allows adding new elements and attributes through specialization of base DITA elements and attributes. Through specialization, DITA can accommodate new topic types, element types, and attributes as needed for specific industries or companies. Specializations of DITA for specific industries, such as the semiconductor industry, are standardized through OASIS technical committees or subcommittees. Many organizations using DITA also develop their own specializations.

The extensibility of DITA permits organizations to specialize DITA by defining specific information structures and still use standard tools to work with them. The ability to define company-specific information architectures enables companies to use DITA to enrich content with metadata that is meaningful to them, and to enforce company-specific rules on document structure.[6]

Topic orientation

[edit]

DITA content is created as topics, each an individual XML file. Typically, each topic covers a specific subject with a singular purpose, for example, a conceptual topic that provides an overview, or a procedural topic that explains how to accomplish a task.[10] Content should be structured to resemble the file structure in which it is contained.[11][12][13]

Creating content in DITA

[edit]

DITA map and topic documents are XML files. As with HTML, any images, video files, or other files that must appear in the output are inserted via reference. Any XML editor or even text editor can be used to write DITA content, depending on the level of support required while authoring. Aids to authoring featured in specialized editors include WYSIWYG preview rendering, validation, and integration with a DITA processor, like DITA-OT or ditac.

Publishing content written in DITA

[edit]

DITA is designed as an end-to-end architecture. In addition to indicating what elements, attributes, and rules are part of the DITA language, the DITA specification includes rules for publishing DITA content in HTML, online Help, print, Content Delivery Platform and other formats.

For example, the DITA specification indicates that if the conref attribute of element A contains a path to element B, the contents of element B will display in the location of element A. DITA-compliant publishing solutions, known as DITA processors, must handle the conref attribute according to the specified behaviour. Rules also exist for processing other rich features such as conditional text, index markers, and topic-to-topic links. Applications that transform DITA content into other formats, and meet the DITA specification's requirements for interpreting DITA markup, are known as DITA processors.

Localization

[edit]

DITA provides support for translation via the localisation attribute group. Element attributes can be set to indicate whether the content of the element should be translated. The language of the element content can be specified, as can the writing direction, the index filtering and some terms that are injected when publishing to the final format.[14] A DITA project can be converted to an XLIFF file and back into its original maps and topics, using the DITA-XLIFF Roundtrip Tool for DITA-OT[15][16] and computer-assisted translation (CAT) tools, like Swordfish Translation Editor or Fluenta DITA Translation Manager, a tool designed to implement the translation workflow suggested by the article "Using XLIFF to Translate DITA Projects" published by the DITA Adoption TC at OASIS.[17]

History

[edit]

The DITA standard is maintained by OASIS. The latest (current) version is 1.3, approved December 2015. An errata document for DITA 1.3 was approved in June 2018.[18]

  • March 2001 Introduction by IBM of the core DTD and XML Schema grammar files and introductory material[19]
  • April 2004 OASIS DITA Technical Committee formed[20]
  • February 2005 IBM contributes the original DITA Open Toolkit project to SourceForge; though regularly confused with the DITA standard, DITA-OT is not affiliated with the OASIS DITA Technical Committee[21]
  • June 2005 DITA v1.0 approved as an OASIS standard
  • August 2007 DITA V1.1 is approved by OASIS; major features include:
    • Bookmap specialization
    • Formal definition of DITAVAL syntax for content filtering
  • December 2010 DITA V1.2 is approved by OASIS; major features include:
    • Indirect linking with keys
    • New content reuse features
    • Enhanced glossary support, including acronyms
    • New industry specializations (Training, Machinery)
    • New support for controlled values / taxonomies (Subject Scheme specialization)
  • 17 December 2015, DITA V1.3 is approved by OASIS; major features include:
    • Specification now delivered in three packages: Base,[22] Technical content,[23] and All Inclusive (with Learning and Training)[24]
    • New troubleshooting topic type
    • Ability to use scoped keys
    • New domains to support MathML, equations, and SVG
    • Adds Relax NG XML syntax as the normative grammar for DITA
  • 25 October 2016, DITA V1.3 Errata 01 is approved by OASIS[25]
  • 19 June 2018, DITA V1.3 Errata 02 is approved by OASIS[26]

Code samples

[edit]

Ditamap file (table of contents) sample

[edit]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map id="map" xml:lang="en">
  <topicref format="dita" href="sample.dita" navtitle="Sample" type="topic"/>
</map>

Hello World (topic DTD)

[edit]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en" id="sample">
  <title>Sample</title>
  <body>
  <p>Hello World!</p>
  </body>
</topic>

.ditaval file sample (for conditionalizing text)

[edit]
<?xml version="1.0" encoding="utf-8"?>
<val>
  <prop att="audience" val="novice" action="include" />
  <prop att="audience" val="expert" action="exclude" />
</val>

Example of conditionalized text:

<p>
  This is information useful for all audiences.
</p>
<p audience="novice">
  This is information useful for a novice audience.
</p>
<p audience="expert">
  This is information useful for an expert audience. 
</p>

Implementations

[edit]
Name Type Software license
DITA Open Toolkit[27] Publishing Apache License
Oxygen XML Editor[28] Editor Proprietary
XMLmind DITA Converter[29] Publishing Mozilla Public License
Name Type Software license

See also

[edit]

References

[edit]
  1. ^ "Darwin Information Typing Architecture (DITA) Version 1.3". Retrieved 1 November 2020.
  2. ^ "Darwin Information Typing Architecture (DITA) Version 1.2". Retrieved 10 October 2012.
  3. ^ "OASIS Darwin Information Typing Architecture (DITA) TC". OASIS. Retrieved 5 October 2012.
  4. ^ "Frequently Asked Questions about the Darwin Information Typing Architecture". IBM Corporation. Retrieved 10 October 2012.
  5. ^ Hackos, JoAnn (2011). Introduction to DITA Second Edition: A User Guide to the Darwin Information Typing Architecture Including DITA 1.2. Colorado: Comtech Services, Inc. pp. 235–239. ISBN 978-0-9778634-3-3.
  6. ^ a b "Introduction to the Darwin Information Typing Architecture". IBM Corporation. Retrieved 10 October 2012.
  7. ^ "reltable". OASIS. Retrieved 22 October 2012.
  8. ^ "Metadata elements". OASIS. Retrieved 22 October 2012.
  9. ^ "ditaval". OASIS. Retrieved 22 October 2012.
  10. ^ Priestly, Michael; Swope, Amber. "The DITA Maturity Model Whitepaper" (PDF). IBM Corp and JustSystems. Retrieved 22 October 2012.
  11. ^ "Assessing DITA as a foundation for XML implementation". Scriptorium Publishing Services, Inc. 2009. Retrieved 2019-02-12.
  12. ^ "Structure, DITA, and content other than technical documentation …". The Rockley Group. October 16, 2007. Archived from the original on 2020-08-11. Retrieved 2009-07-29.
  13. ^ "Survey on DITA Challenges". WritePoint Ltd. January 18, 2010. Archived from the original on 2014-10-23. Retrieved 2010-01-21.
  14. ^ "localization-atts attribute group". OASIS. Retrieved 15 October 2012.
  15. ^ Schnabel, Bryan. "DITA-XLIFF Roundtrip for OT". Retrieved 15 October 2012.
  16. ^ DITA 1.2 Feature Article: Using XLIFF to Translate DITA Projects
  17. ^ Using XLIFF to Translate DITA Projects
  18. ^ "OASIS DITA 1.3 Errata 02". OASIS Open. 2018. Retrieved 26 January 2022.
  19. ^ "Original DITA article from IBM". IBM. 2001. Retrieved 15 March 2018./
  20. ^ "OASIS DITA Technical Committee". OASIS Open. 2004. Retrieved 15 March 2018.
  21. ^ "DITA versus DITA-OT". Robert D. Anderson, DITA-OT developer and DITA Specification editor. 2016. Retrieved 15 March 2018.
  22. ^ "DITA 1.3 Base Package". OASIS Open. 2015. Retrieved 15 March 2018.
  23. ^ "DITA 1.3 Technical Content Package". OASIS Open. 2015. Retrieved 15 March 2018.
  24. ^ "DITA 1.3 All Inclusive Package". OASIS Open. 2015. Retrieved 15 March 2018.
  25. ^ "Voting History for Approved Errata 01". Retrieved 26 January 2022.
  26. ^ "Voting History for Approved Errata 02". Retrieved 26 January 2022.
  27. ^ DITA Open Toolkit
  28. ^ Oxygen XML Editor
  29. ^ "What is XMLmind DITA Converter?". XMLmind Software. Retrieved 26 January 2022.
[edit]