320 likes | 642 Views
DITA. Darwin Information Typing Architecture. What is DITA?. What is DITA. DITA is an XML-based end-to-end architecture for authoring, producing, and delivering technical information. (Wikipedia). One Slide History.
E N D
DITA Darwin Information Typing Architecture
What is DITA DITA is an XML-based end-to-end architecture for authoring, producing, and delivering technical information. (Wikipedia)
One Slide History • Originally developed by IBM in 2000 by a cross-company work group after an effort to organize all their technical documentation into a single source. • March 2004, IBM donated DITA to the Organization for the Advancement of Structured Information Systems (OASIS). • May 3rd, 2005 - DITA version 1.0 approved as an OASIS Standard • OASIS continues to update DITA and are currently on version 1.1
How It Works • DITA divides content into small, self-contained topics that can be reused in different deliverables. • The core of DITA consists of a topic DTD (Document Type Definition, an XML scheme langauge a.k.a XML “templates”—) and a map DTD (topic) • Besides generic topic type, DITA specifies three basic topic types, Task, Concept and Reference. • These are then put into Topic maps.
If You Get HTML and XML… <topic id="topic"> <title>Dancing</title> <body> <p> Dancing is a very difficult art to master but fun to screw up.</p> </body> </topic>
The Three Basics Topic Types • Task Topic • Concept Topic • Reference Topic
Task Topic • Describes how to accomplish a task. It lists a series of steps that users follow to produce a specified outcome. (EX: Move your leg)
Task Topic Example <task id= "movingalimb"> <title>Moving a leg</title> <taskbody> <context>If you want to dance you have to do this.</context> <steps> <step><cmd>Get your brain to tell the muscles in you leg to move</cmd></step> <step><cmd>Move your foot forward and set it down again.</cmd></step> </steps> </taskbody> </task>
Concept Topic • Information designed to be more objective, containing definitions, rules, and guidelines. (EX: History of Dance)
Concept Topic Example: <concept id=“danceintro"> <title>History of Dance</title> <shortdesc> People have been dancing since before recorded history.</shortdesc> <conbody> <p>Some early cultures that have records of early dancing are:</p> <ul> <li>Greece</li> <li>Egypt</li> </conbody> </concept>
Reference Topic • Describes command syntax, programming instructions, other reference material; it usually contains detailed, factual material. (EX: A Dip)
Reference Topic Example <reference id="refsample"> <title>The Dip</title> <refbody> <properties> <property> <proptype>Dip</proptype> <propvalue>Impressive/Basic</propvalue> <propdesc>A dip can be a basic but effective move for impressing a dance partner. It is executed by holding the partner firmly at between a 45 and 80 degree angle. If executed poorly it can result in injury.<propdesc> </property> </properties> </refbody> </reference>
Topic Map Relationship Tables and Map Lists
Map List Example <map title="Getting Started With Dance"> <topicref href="history.xml"> <topicref href=“basictypes.xml"/> <topicref href="modernforms.xml"/> </topicref> <topicref href=“basicsteps.xml"> <topicref href=“dip.xml"/> <topicref href=“spin.xml"/> <topicref href=“kicks.xml"/> <topicref href=“groups.xml"/> <topicref href=“exotic.xml"/> <topicref href=“professionals.xml"/> </topicref>
You Should Use DITA If: • You have content online. • You exchange technical documentation with other groups that use DITA. • You have someone to enforce it
Shouldn’t Use If: • No one will use it. • Your source is print based.
Advantages • Topics can be easily reused in different deliverables. • Fragments of content within topics (or less commonly, topics themselves), can be reused through the use of content references. • Improves retrievability