| FlexDoc/XML XSDDoc Demo | XML Schemas for DITA 1.1

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

element <context>

Namespace: | {no namespace}
Type: | anonymous complexType (extension of context.class)
Content: | mixed, 17 attributes, 59 elements
Defined: | globally in taskMod.xsd; see XML source
Includes: | declaration of 1 attribute
Referenced: | by 1 location

Component Diagram

XML Representation Summary
<context
outputclass | = | xs:string
id | = | xs:NMTOKEN
conref | = | xs:string
props | = | xs:string
platform | = | xs:string
product | = | xs:string
audience | = | xs:string
otherprops | = | xs:string
base | = | xs:string
rev | = | xs:string
importance | = | ("obsolete" | "deprecated" | "optional" | "default" | "low" | "normal" | "high" | "recommended" | "required" | "urgent" | "-dita-use-conref-target")
status | = | ("new" | "changed" | "deleted" | "unchanged" | "-dita-use-conref-target")
translate | = | ("yes" | "no" | "-dita-use-conref-target")
xml:lang | = | xs:language
xtrc | = | xs:string
xtrf | = | xs:string
class | = | xs:string : "- topic/section task/context "
| >
Content: | {text} × (ph | codeph | synph | uicontrol | menucascade | sup | sub | tt | b | u | i | msgph | filepath | userinput | systemoutput | term | xref | cite | q | state | boolean | keyword | option | parmname | apiname | wintitle | msgnum | varname | cmdname | tm | p | lq | note | dl | parml | ul | ol | sl | pre | codeblock | screen | msgblock | lines | fig | syntaxdiagram | imagemap | image | object | table | simpletable | draft-comment | required-cleanup | fn | indextermref | indexterm | (data | data-about | foreign | unknown)*)*
</context>

Attributes:

Attribute | Type / Value | Default | Required? | Declared In | Description
outputclass | xs:string |  | no | context.class |
id | xs:NMTOKEN |  | no | id-atts |
conref | xs:string |  | no | id-atts |
props | xs:string |  | no | filter-atts |
platform | xs:string |  | no | filter-atts |
product | xs:string |  | no | filter-atts |
audience | xs:string |  | no | filter-atts |
otherprops | xs:string |  | no | filter-atts |
base | xs:string |  | no | select-atts |
rev | xs:string |  | no | select-atts |
importance | importance-atts.class : ("obsolete" | "deprecated" | "optional" | "default" | "low" | "normal" | "high" | "recommended" | "required" | "urgent" | "-dita-use-conref-target") |  | no | select-atts |
status | status-atts.class : ("new" | "changed" | "deleted" | "unchanged" | "-dita-use-conref-target") |  | no | select-atts |
translate | yesno-att.class : ("yes" | "no" | "-dita-use-conref-target") |  | no | univ-atts |
xml:lang | xs:language |  | no | univ-atts | In due course, we should install the relevant ISO 2- and 3-letter codes as the enumerated possible values . . .
xtrc | xs:string |  | no | global-atts |
xtrf | xs:string |  | no | global-atts |
class | xs:string | "- topic/section task/context " | no | this | The class attribute supports specialization. »

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
{text} × | character data |  |  |  | may appear between child elements
CHOICE |  | 0..∞ |  | section.notitle.cnt |
ph | anonymous | 1..1 | no | ph (ver 1) | The phrase (<ph>) element is used to organize content for reuse or conditional processing (for example, when part of a paragraph applies to a particular audience). »
codeph | anonymous | 1..1 | no | pr-d-ph | The code phrase (<codeph>) element represents a snippet of code within the main flow of text. »
synph | anonymous | 1..1 | no | pr-d-ph | The syntax phrase (<synph>) element is a container for syntax definition elements. »
uicontrol | anonymous | 1..1 | no | ui-d-ph | The user interface control (<uicontrol>) element represents a button, entry field, menu item, or other object that allows the user to control the interface. »
menucascade | anonymous | 1..1 | no | ui-d-ph | The <menucascade> element is used to document a series of menu choices, or to show any choice on a menu from which the user needs to choose. »
sup | anonymous | 1..1 | no | hi-d-ph | The superscript (<sup>) element indicates that text should be superscripted, or vertically raised in relationship to the surrounding text. »
sub | anonymous | 1..1 | no | hi-d-ph | A subscript (<sub>) indicates that text should be subscripted, or placed lower in relationship to the surrounding text. »
tt | anonymous | 1..1 | no | hi-d-ph | The teletype (<tt>) element is used to apply monospaced highlighting to the content of the element. »
b | anonymous | 1..1 | no | hi-d-ph | The bold (<b>) element is used to apply bold highlighting to the content of the element. »
u | anonymous | 1..1 | no | hi-d-ph | The underline (<u>) element is used to apply underline highlighting to the content of the element. »
i | anonymous | 1..1 | no | hi-d-ph | The italic (<i>) element is used to apply italic highlighting to the content of the element. »
msgph | anonymous | 1..1 | no | sw-d-ph | The message phrase (<msgph>) element contains the text content of a message produced by an application or program. »
filepath | anonymous | 1..1 | no | sw-d-ph | The <filepath> element indicates the name and optionally the location of a referenced file by specifying the directory containing the file, and other directories that may precede it in the system hierarchy. »
userinput | anonymous | 1..1 | no | sw-d-ph | The user input (<userinput>) element represens the text a user should input in response to a program or system prompt. »
systemoutput | anonymous | 1..1 | no | sw-d-ph | The system output (<systemoutput>) element represents computer output or responses to a command or situation. »
term | anonymous | 1..1 | no | term | The <term> element identifies words that represent extended definitions or explanations. »
xref | anonymous | 1..1 | no | xref | Use the cross-reference (<xref>) element to link to a different location within the current topic, or a different topic within the same help system or DITA document. »
cite | anonymous | 1..1 | no | cite | The <cite> element is used when you need a bibliographic citation that refers to a book or article. »
q | anonymous | 1..1 | no | q | A quotation element (<q>) indicates content quoted from another source. »
state | anonymous | 1..1 | no | state | The <state> element specifies a name/value pair whenever it is necessary to represent a named state that has a variable value. »
boolean | anonymous | 1..1 | no | boolean | ( Deprecated ) - The <boolean> element is used to express one of two opposite values, such as yes or no, on or off, true or false, high or low, and so forth. »
keyword | anonymous | 1..1 | no | keyword (ver 1) | The <keyword> element identifies a keyword or token, such as a single value from an enumerated list, the name of a command or parameter, or a lookup key for a message (contrast with term).
option | anonymous | 1..1 | no | pr-d-keyword | The <option> element describes an option that can be used to modify a command (or something else, like a configuration). »
parmname | anonymous | 1..1 | no | pr-d-keyword | When referencing the name of an application programming interface parameter within the text flow of your topic, use the parameter name (<parmname>) element to markup the parameter. »
apiname | anonymous | 1..1 | no | pr-d-keyword | The <apiname> element provides the name of an application programming interface (API) such as a Java class name or method name. »
wintitle | anonymous | 1..1 | no | ui-d-keyword | The window title <wintitle> element represents the title text that appears at the top of a window or dialog, and applies to wizard titles, wizard page titles, and pane titles. »
msgnum | anonymous | 1..1 | no | sw-d-keyword | The message number (<msgnum>) element contains the number of a message produced by an application or program. »
varname | anonymous | 1..1 | no | sw-d-keyword | The variable name (<varname>) element defines a variable that must be supplied to a software application. »
cmdname | anonymous | 1..1 | no | sw-d-keyword | The command name (<cmdname>) element specifies the name of a command when it is part of a software discussion. »
tm | anonymous | 1..1 | no | tm | The trademark (<tm>) element in DITA is used to markup and identify a term or phrase that is trademarked. »
p | anonymous | 1..1 | no | p | A paragraph element (<p>) is a block of text containing a single main idea.
lq | anonymous | 1..1 | no | lq | TThe long quote (<lq>) element indicates content quoted from another source. »
note | anonymous | 1..1 | no | note | A <note> element contains information, differentiated from the main text, which expands on or calls attention to a particular point.
dl | anonymous | 1..1 | no | dl (ver 1) | A definition list (<dl>) is a list of terms and corresponding definitions. »
parml | anonymous | 1..1 | no | pr-d-dl | The parameter list (<parml>) element contains a list of terms and definitions that describes the parameters in an application programming interface. »
ul | anonymous | 1..1 | no | ul | In an unordered list (<ul>), the order of the list items is not significant. »
ol | anonymous | 1..1 | no | ol | An ordered list (<ol>) is a list of items sorted by sequence or order of importance.
sl | anonymous | 1..1 | no | sl | The <sl> element contains a simple list of items of short, phrase-like content, such as in documenting the materials in a kit or package.
pre | anonymous | 1..1 | no | pre (ver 1) | The preformatted element (<pre>) preserves line breaks and spaces entered manually by the author in the content of the element, and also presents the content in a monospaced type font (depending on your output formatting processor).
codeblock | anonymous | 1..1 | no | pr-d-pre | The <codeblock> element represents lines of program code. »
screen | anonymous | 1..1 | no | ui-d-pre | The <screen> element contains or refers to a textual representation of a computer screen or user interface panel (window).
msgblock | anonymous | 1..1 | no | sw-d-pre | The message block (<msgblock>) element contains a multi-line message or set of messages. »
lines | anonymous | 1..1 | no | lines | The <lines> element may be used to represent dialogs, lists, text fragments, and so forth. »
fig | anonymous | 1..1 | no | fig (ver 1) | The figure (<fig>) element is a display context (sometimes called an exhibit) with an optional title for a wide variety of content. »
syntaxdiagram | anonymous | 1..1 | no | pr-d-fig | The syntax diagram (<syntaxdiagram>) element is the main container for all the syntax elements that make up a syntax definition. »
imagemap | anonymous | 1..1 | no | ut-d-fig | The imagemap element supports the basic functionality of the HTML client-side image map markup.
image | anonymous | 1..1 | no | image | Include artwork or images in a DITA topic by using the <image> element. »
object | anonymous | 1..1 | no | object | DITA's <object> element corresponds to the HTML <object> element. »
table | anonymous | 1..1 | no | table | The <table> element organizes arbitrarily complex relationships of tabular information. »
simpletable | anonymous | 1..1 | no | simpletable | The <simpletable> element is used for tables that are regular in structure and do not need a caption. »
draft-comment | anonymous | 1..1 | no | draft-comment | The <draft-comment> element allows simple review and discussion of topic contents within the marked-up content. »
required-cleanup | anonymous | 1..1 | no | required-cleanup | A <required-cleanup> element is used as a placeholder for migrated elements that cannot be appropriately tagged without manual intervention. »
fn | anonymous | 1..1 | no | fn | Use footnote (<fn>) to annotate text with notes that are not appropriate for inclusion in line or to indicate the source for facts or other material used in the text.
indextermref | anonymous | 1..1 | no | indextermref | An <indextermref> is a reference to an index entry in a lookup table used by the indexing process. »
indexterm | anonymous | 1..1 | no | indexterm | An <indexterm> is an index entry. »
CHOICE |  | 0..∞ |  | section.notitle.cnt |
data | anonymous | 1..1 | no | data | The <data> element represents a property within a DITA topic or map. »
data-about | anonymous | 1..1 | no | data-about | The <data-about> element identifies the subject of a property when the subject isn't associated with the context in which the property is specified. »
foreign | anonymous | 1..1 | no | foreign | The <foreign> element is an open extension that allows information architects to incorporate existing standard vocabularies for non-textual content. like MathML and SVG, as inline objects. »
unknown | anonymous | 1..1 | no | unknown | The <unknown> element is an open extension that allows information architects to incorporate xml fragments that does not necessarily fit into an exisitng DITA use case. »

Description
The <context> section of a task provides background information for the task. This information helps the user understand what the purpose of the task is and what they will gain by completing the task. This section should be brief and does not replace or recreate a concept topic on the same subject, although the context section may include some conceptual information
Related Components

- Included in content model of elements (1):
  taskbody

Referenced By

- In model groups (1):
  context [ref]

Anonymous Type Detail

Type Derivation Tree context.class (extension) complexType

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.