Term | Closest IGX Equivalent | Notes |
---|---|---|
Topics | Pages | More about topics later. |
Doctypes/Topic Types | Page Schemas | Examples: Concept, Task, Reference, Generic Topic |
DITA Maps | Site Tree | More about maps later. |
Conrefs | Components | Conref short for Content Reference |
Keys | Variables | More about keys later. |
DITA-OT | Publishing Engine | DITA-OT short for DITA Open Toolkit |
Transtypes | [No Equivalent] | Transformation Type: Parameters Defining Output Formats |
DITAVAL file | [No Equivalent] | User-defined logic for conditional filtering (e.g., audience, platform) |
Root Element: <map/>
Ditamaps are made up mainly of the following element sets:
<map> <title>All about Ducks</title> <topicref href="ducks.dita"> <topicref href="range.dita"/> <topicref href="size.dita"/> <topicref href="nests.dita"/> </topicref> </map>
The result is a TOC might be structured like this:
In addition to topics, you can reference DITA maps inside of DITA maps.
<map> <title>Water Birds</title> <topicref href="geese.dita"> <topicref href="swans.dita"> <mapref href="ducks.ditamap" format="ditamap"/> </map>
The collection-type attribute of the topicref element defines the relationship between any nested topic references within a ditamap.
<topicref href="ducks.dita" collection-type="sequence" />
<map> <title>Page Management in Ingeniux CMS</title> <topicref href="topics/concept/checking-pages-in-out-1.dita" type="concept" collection-type="family"> <topicref href="topics/task/checking-pages-in-1.dita" type="task"/> <topicref href="topics/task/checking-pages-out-1.dita" type="task"/> <topicref href="topics/task/undoing-checked-out-pages-1.dita" type="task"/> </topicref> <topicref href="topics/reference/shortcut-keys-1.dita" type="reference"/> </map>
<map> <title>Page Management in Ingeniux CMS</title> <topicref href="topics/concept/checking-pages-in-out-1.dita" type="concept" collection-type="sequence"> <topicref href="topics/task/checking-pages-in-1.dita" type="task"/> <topicref href="topics/task/checking-pages-out-1.dita" type="task"/> <topicref href="topics/task/undoing-checked-out-pages-1.dita" type="task"/> </topicref> <topicref href="topics/reference/shortcut-keys-1.dita" type="reference"/> </map>
<map> <title>Page Management in Ingeniux CMS</title> <topicref href="topics/concept/checking-pages-in-out-1.dita" type="concept" collection-type="unordered"> <topicref href="topics/task/checking-pages-in-1.dita" type="task"/> <topicref href="topics/task/checking-pages-out-1.dita" type="task"/> <topicref href="topics/task/undoing-checked-out-pages-1.dita" type="task"/> </topicref> <topicref href="topics/reference/shortcut-keys-1.dita" type="reference"/> </map>
A set of rules governs DITA syntax for topics, maps (and DITAVAL files).
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="gma-cooking-1">
<title>Grandma's Cooking</title>
<conbody/>
</concept>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="gma-pancake-1">
<title>How to Make Grandma's Pancakes</title>
<shortdesc>How to make Grandma's Pancakes</shortdesc>
<taskbody>
<prereq> Before you begin making Grandma's pancakes, you will need the following
ingredients: <simpletable frame="all" id="simpletable-1">
<sthead>
<stentry>Ingredient</stentry>
<stentry>Number</stentry>
<stentry>Unit</stentry>
<stentry>Required</stentry>
</sthead>
<strow>
<stentry>Flour</stentry>
<stentry>2</stentry>
<stentry>cups</stentry>
<stentry>Yes</stentry>
</strow>
<strow>
<stentry>Milk</stentry>
<stentry>2</stentry>
<stentry>cups</stentry>
<stentry>Yes</stentry>
</strow>
<strow>
<stentry>Eggs</stentry>
<stentry>2</stentry>
<stentry>large</stentry>
<stentry>Yes</stentry>
</strow>
<strow>
<stentry>Salt</stentry>
<stentry>2</stentry>
<stentry>tsp.</stentry>
<stentry>Yes</stentry>
</strow>
<strow>
<stentry>Sugar</stentry>
<stentry>2</stentry>
<stentry>tbsp.</stentry>
<stentry>Yes</stentry>
</strow>
<strow>
<stentry>Rum</stentry>
<stentry>2</stentry>
<stentry>cups</stentry>
<stentry>No</stentry>
</strow>
</simpletable>
</prereq>
<context>
<p>Grandma's pancakes are easy to make. <note type="note">While it seemed like Grandma
used two cups of rum in her pancakes, you can just add less to taste.</note></p>
</context>
<steps>
<stepsection>To make Grandma's pancakes:</stepsection>
<step>
<cmd>In a large bowl, mix ingredients.</cmd>
</step>
<step>
<cmd>Heat a lightly oiled griddle over medium-high heat.</cmd>
</step>
<step>
<cmd>Scoop the batter onto the griddle.</cmd>
</step>
<step>
<cmd>Brown on both sides.</cmd>
</step>
<step>
<cmd>Serve hot.</cmd>
</step>
</steps>
<postreq><note type="warning">Please do not operate heavy equipment after eating Grandma's
pancakes.</note></postreq>
</taskbody>
</task>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="req-task-tags">
<title>
</title>
<taskbody>
</taskbody>
</task>
Normalization is:
Here's are some of the things that Normalization does:
Types of content reuse in DITA:
<concept id="abc123">
<title>Apples</title>
<conbody>
<p id="def456">Many precautions are taken to ensure the quality and safety of the apples, after
the cleaning and packing is complete.</p>
<p>During transport, all fruit must be kept below 65 degrees Fahrenheit.</p>
</conbody>
</concept>
Conref addressing syntax: topicfilename#topicid/elementid
<p conref="../concepts/apples-1.dita#abc123/ghi789"/>
Conref addressing syntax:
<p conref="../content-warehouse/warehouse-topic-1.dita#wh-topic-1/xyz123"/>
Use keys to create indirect links (i.e., placeholders) for DITA topics, media resources, and external links.
<xref href="topics/task/install-software.dita" format="dita" scope="local" type="task"/>
<xref keyref=“install-software" format="dita" scope="local" type="task"/>
Use a submap to contain the key definition library, and reference that submap within your master DITA map.
Key Definition Map Example:
Example:
<p platform="android">Visit Google Play for more information.</p>
<p platform="iphone">Visit the App Store for more information.</p>
<map>
<title>Apples and Oranges</title>
<ditavalref href="resources/ditaval/apples-1.ditaval" processing-role="resource-only"/>
<topicref href="topics/concepts/apples-1.dita"/>
<topicref href="topics/tasks/oranges-1.dita"/>
</map>
@att
) value as defined in the
element.@att
) from the output.
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop att="audience" val="user" action="exclude"/>
</val>
Remaining @action values:
See http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/langRef/ditaval/ditaval-val.html for more examples.