Element reference for the specializations

Every element in the interface guide and tutorial types: what it specializes, what it may contain, and what it holds.

Document type declarations

Start a topic with one of these document type declarations. DITA-OT resolves the public identifier through the catalog in plugins/ca.watership.types.

<!DOCTYPE interfaceGuide PUBLIC "-//WATERSHIP//DTD DITA Interface Guide//EN" "interfaceGuide.dtd">
<!DOCTYPE tutorial PUBLIC "-//WATERSHIP//DTD DITA Tutorial//EN" "tutorial.dtd">

Both shells include the DITA 1.3 highlighting, programming, software, user interface, utilities, indexing, hazard statement, abbreviated form, markup, and XML domains. Neither type nests topics.

Interface guide elements

In the content column, a comma means “followed by”, ? means optional, + means one or more, and * means any number.

Element Specializes Content Holds
<interfaceGuide> <reference> screenName, titlealts?, screenPurpose, prolog?, igBody, related-links? One screen or panel.
<screenName> <title> Title content The screen’s name, exactly as the product shows it.
<screenPurpose> <shortdesc> Short description content What the screen is for and how to get there, in the first sentence.
<igBody> <refbody> screenAccess?, screenRegion+, relatedTasks The body.
<screenAccess> <section> title?, (p | ul | ol | note)+ Every way to reach the screen, and who can open it. Rendered under “How to get here” when it has no title.
<screenRegion> <section> title, (p | note | fig)*, uiElements One region, titled with its name on screen or where it sits.
<uiElements> <dl> uiElement+ The elements in a region, in screen order.
<uiElement> <dlentry> uiLabel, uiAction, uiDefault?, uiEffect?, uiPermissions? One element.
<uiLabel> <dt> Term content The label exactly as shown.
<uiAction> <dd> Definition content What the element does or shows.
<uiDefault> <dd> Definition content Its value or state before anyone changes it. Rendered as “Default”.
<uiEffect> <dd> Definition content What changes, on the screen or elsewhere, when you use it. Rendered as “What changes”.
<uiPermissions> <dd> Definition content Who can see it and who can change it. Rendered as “Who can see or change it”.
<relatedTasks> <section> title?, p*, ul Links to the tasks that use the screen, one per list item. Rendered under “Tasks that use this screen” when it has no title.

Tutorial elements

Steps also use <cmd>, <info>, <stepxmp>, and <tutorialinfo> from DITA’s task type.

Element Specializes Content Holds
<tutorial> <task> title, titlealts?, shortdesc, prolog?, tutorialBody, related-links? One lesson.
<tutorialBody> <taskbody> outcome, prerequisites?, lessonSteps, whatYouBuilt, nextSteps? The body.
<outcome> <context> Section content without a title What the learner will build, and how long it takes. Rendered under “What you’ll build”.
<prerequisites> <prereq> Section content without a title What the learner needs first. Rendered under “Before you start”.
<lessonSteps> <steps> lessonStep+ The numbered steps. Rendered under “Steps”.
<lessonStep> <step> cmd, (info | stepxmp | tutorialinfo)*, visibleResult One step.
<visibleResult> <stepresult> Item group content What the learner sees once the step has worked. Rendered after the label “You see”.
<whatYouBuilt> <result> Section content without a title What the learner made, and what it showed them. Rendered under “What you built”.
<nextSteps> <postreq> Section content without a title Where to go next. Rendered under “Next steps”.