Domains in this section include those generally associated
with technical content, such as the programming and software domains.
3.3.10.7.4: Programming elements
The programming domain elements are used to define the syntax for
programming languages. They also can be used to provide examples.
3.3.10.7.4.1:
<apiname>
The
<apiname> element provides
the name of an application programming interface (API) such as a Java
class name or method name.
This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword pr-d/apiname
Example
<p>Use the <apiname>document.write</apiname> method to create text
output in the dynamically constructed view.</p>
3.3.10.7.4.2:
<codeblock>
The <codeblock> element represents lines of program code. Like the
<pre> element, line endings and spaces inside the
element are preserved, and the content is typically
rendered in a monospaced font. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/pre pr-d/codeblock
Example
<codeblock>
/* a long sample program */
Do forever
Say "Hello, World"
End
</codeblock>
3.3.10.7.4.3:
<codeph>
The <codeph> element represents a snippet of code within the main
flow of text. The code phrase is displayed in a monospaced font for emphasis. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph pr-d/codeph
Example
<p>The second line of the sample program code, <codeph>Do forever</codeph>,
represents the start of a loop construct.</p>
3.3.10.7.4.4:
<coderef>
The <coderef> element references an external file that contains
literal code. When evaluated, the <coderef> element causes the target code to be displayed inline. If the target
contains non-XML characters such as '<' or '&', those will need to be handled in a
way
that they can be displayed correctly by the final rendering
engine. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/xref pr-d/coderef
Example
<example>
<title>Processing DITA</title>
<p>This code is an example of how to process DITA.</p>
<codeblock><coderef href="process-dita.xsl"/></codeblock>
</example>
3.3.10.7.4.5:
<option>
The <option> element describes
an option that can be used to modify a command (or something else,
like a configuration).
This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword pr-d/option
Example
something <option>/modifier</option>
3.3.10.7.4.6:
<parmname>
The <parmname> element is used to reference the name of an
application programming interface parameter within the text flow of a topic. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword pr-d/parmname
Example
<p>Use the <parmname>/env</parmname> parameter of the <cmdname>config</cmdname>
command to update the field value.</p>
3.3.10.7.4.7:
<parml>
The <parml> element contains a list of terms and definitions
that describes the parameters in an application programming interface. This is a special
kind of
definition list that is designed for documenting programming parameters. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/dl pr-d/parml
Example
- Example source:
-
This code example is a basic method signature:
<codeblock>returnType methodName(pList1, pList2) {</codeblock>
where
<parml>
<plentry>
<pt>pList1</pt>
<pd>is the first variable declaration passed to methodName</pd>
</plentry>
<plentry>
<pt>pList2</pt>
<pd>is the second variable declaration passed to methodName</pd>
</plentry>
</parml>
- Example output:
-
This code example is a basic method signature:
returnType methodName(pList1, pList2) {
where
- pList1
- is the first variable declaration passed to methodName
- pList2
- is the second variable declaration passed to methodName
3.3.10.7.4.8:
<plentry>
The <plentry> element contains one or more parameter terms and definitions
(<pt> and <pd>). This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/dlentry pr-d/plentry
3.3.10.7.4.9:
<pt>
The <pt> element specifies a parameter term within a parameter
list entry. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/dt pr-d/pt
3.3.10.7.4.10:
<pd>
The <pd> element specifies a parameter definition within a
parameter list entry. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/dd pr-d/pd
3.3.10.7.4.11:
<synph>
The <synph> (syntax phrase) element is a container for syntax
definition elements. It is used when a complete syntax diagram is not needed, but
some of the syntax
elements, such as <kwd>, <oper>, or
<delim> are used within the text flow of the topic content. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph pr-d/synph
Example
<synph><kwd>format</kwd> <var>volumename</var></synph>
3.3.10.7.4.12:
<syntaxdiagram>
The <syntaxdiagram> element is the main container for all the
syntax elements that make up a syntax definition. The syntax diagram represents the
syntax of a
statement from a computer language or a command, function call, or programming language
statement. Traditionally, the syntax diagram is formatted with "railroad tracks" that
connect
the units of the syntax together, but the presentation might differ depending on the
output
media. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/fig pr-d/syntaxdiagram
Example
<syntaxdiagram>
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<groupchoice> <var>input-filename</var> <kwd>*INFILE</kwd></groupchoice>
<groupchoice> <var>output-filename</var> <kwd>*OUTFILE</kwd></groupchoice>
</syntaxdiagram>
3.3.10.7.4.13:
<groupseq>
The <groupseq> element is part of the subset of elements that
define syntax diagrams in DITA. A group is a logical set of pieces of syntax that
go together.
Within the syntax definition, groups of keywords, delimiters and other syntax units
act as a
combined unit, and they occur in a specific sequence, as delimited by the
<groupseq> element. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/figgroup pr-d/groupseq
Example
<syntaxdiagram frame="bottom">
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<groupchoice><var>input-filename</var><kwd>*INFILE</kwd></groupchoice>
<groupchoice><var>output-filename</var><kwd>*OUTFILE</kwd></groupchoice>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional,
required, or
default. Output processors can indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- default
- This section of the syntax is used by default
or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.14:
<groupchoice>
The <groupchoice> element is part of the subset of elements that
define syntax diagrams in DITA. A group is a logical set of pieces of syntax that
go together. A
group choice specifies that the user must make a choice about which part of the syntax
to use.
Groups are often nested. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/figgroup pr-d/groupchoice
Example
<syntaxdiagram frame="bottom">
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<groupchoice><var>input-filename</var><kwd>*INFILE</kwd></groupchoice>
<groupchoice><var>output-filename</var><kwd>*OUTFILE</kwd></groupchoice>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional,
required, or
default. Output processors can indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- default
- This section of the syntax is used by default
or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.15:
<groupcomp>
The <groupcomp> element is part of the subset of elements that
define syntax diagrams in DITA. A group is a logical set of pieces of syntax that
go together. The
group composite means that the items that make up the syntax diagram will be formatted
close
together rather than being separated by a horizontal or vertical line, which is the
usual formatting
method. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/figgroup pr-d/groupcomp
Example
<syntaxdiagram frame="bottom">
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<groupchoice><var>input-filename</var><kwd>*INFILE</kwd></groupchoice>
<groupchoice><var>output-filename</var><kwd>*OUTFILE</kwd></groupchoice>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional,
required, or
default. Output processors can indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- default
- This section of the syntax is used by default
or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.16:
<fragment>
The <fragment> element contains a labeled subpart of the syntax
within a <syntaxdiagram>. The <fragment> element
allows breaking out logical chunks of a large syntax diagram into named fragments.
This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/figgroup pr-d/fragment
Example
<syntaxdiagram frame="none">
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<groupchoice><var>input-filename</var><kwd>*INFILE</kwd></groupchoice>
<groupchoice><var>output-filename</var><kwd>*OUTFILE</kwd></groupchoice>
<fragment>
<groupchoice><kwd>*OVERLAP</kwd><kwd>*Prompt</kwd></groupchoice>
</fragment>
</syntaxdiagram>
3.3.10.7.4.17:
<fragref>
The <fragref> element provides a logical reference to a
<fragment> element within a syntax diagram, so that you can reference a
syntax fragment multiple times or pull a large section of syntax out of line for easier
reading. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/xref pr-d/fragref
Example
This markup
example:
<syntaxdiagram frame="none">
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<fragref href="#syntax/overlay"></fragref>
<groupchoice><var>input-filename</var><kwd>*INFILE</kwd></groupchoice>
<groupchoice><var>output-filename</var><kwd>*OUTFILE</kwd></groupchoice>
<fragment id="overlay">
<title>Overlay</title>
<groupchoice><kwd>*OVERLAP</kwd><kwd>*Prompt</kwd></groupchoice>
</fragment>
</syntaxdiagram>
might produce output like the
following:
CopyFile
>>-COPYF--input-filename*INFILE--output-filename--*OUTFILE------>
>--| Overlay |--+-input-filename-+--+-output-filename-+--------><
'-*INFILE--------' '-*OUTFILE--------'
Overlay
|--+-*OVERLAP-+-------------------------------------------------|
'-*Prompt--'
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below),
@outputclass
, and the attributes
defined below.
-
@href
- A reference to a syntax diagram <fragment> element. The referenced
<fragment> must be in the same diagram as the
<fragref> element. See The @href attribute for detailed information on
supported values and processing
implications.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional or
required. Output processors might indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.18:
<synblk>
The <synblk> (syntax block) element organizes small pieces of a
syntax definition into a larger piece. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/figgroup pr-d/synblk
Example
<synblk>
<groupseq><kwd>this</kwd><sep>-</sep><kwd>is</kwd><sep>-</sep><kwd>a</kwd>
<sep>-</sep><var>test</var></groupseq>
</synblk>
3.3.10.7.4.19:
<synnote>
The <synnote> element contains a note (similar to a footnote)
within a syntax definition group or fragment. The syntax note explains aspects of
the syntax that
cannot be expressed in the markup itself. The note will appear at the bottom of the
syntax diagram
instead of at the bottom of the page. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/fn pr-d/synnote
Example
<groupcomp><var>one</var><var>two</var><var>three</var></groupcomp>
<synnote>My first syntax note.</synnote>
Attributes
The following attributes are available on this element: Universal attribute group,
@outputclass
, and the attribute defined below.
-
@callout
- Specifies what character is used for the
footnote link, for example a number or an alpha
character. The attribute can also specify a short string of
characters. When no @callout value
is specified, footnotes are typically
numbered.
-
@datatype
- Available for describing the type of data
contained in the value attribute for this metadata
element. The default value is the empty string
"".
3.3.10.7.4.20:
<synnoteref>
The <synnoteref> element references a syntax note element
(<synnote>) that has already been defined elsewhere in the syntax diagram.
The same notation can be used in more than one syntax definition. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/xref pr-d/synnoteref
Example
<synnoteref href="#topicid/mysyn"/>
Attributes
The following attributes are available on this element: Universal attribute group,
@outputclass
, and the attribute defined
below.
-
@href
- A reference to the target syntax note (<synnote>) element. The referenced
syntax note must be in the same syntax diagram as the <synnoteref>
element. See The @href attribute for detailed information on
supported values and processing implications.
3.3.10.7.4.21:
<kwd>
The <kwd> element defines a keyword within a syntax diagram. A
keyword is typed or output, either by the user or application,
exactly as specified in the syntax definition. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword pr-d/kwd
Example
<syntaxdiagram frame="bottom">
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<groupchoice><var>input-filename</var><kwd>*INFILE</kwd></groupchoice>
<groupchoice><var>output-filename</var><kwd>*OUTFILE</kwd></groupchoice>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below),
@outputclass
, and
@keyref
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional,
required, or
default. Output processors might indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- default
- This section of the syntax is used by default
or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.22:
<var>
The <var> element defines a variable within a syntax diagram for
which the user must supply content, such as their user name or password. Processors
typically
represent the <var> element in output in an italic font, but are not required
to do so. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph pr-d/var
Example
<syntaxdiagram frame="bottom">
<title>CopyFile</title>
<groupseq><kwd>COPYF</kwd></groupseq>
<groupcomp><var>input-filename</var><kwd>*INFILE</kwd></groupcomp>
<groupseq><var>output-filename</var><kwd>*OUTFILE</kwd></groupseq>
<groupchoice><var>input-filename</var><kwd>*INFILE</kwd></groupchoice>
<groupchoice><var>output-filename</var><kwd>*OUTFILE</kwd></groupchoice>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional,
required, or
default. Output processors can indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- default
- This section of the syntax is used by default
or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.23:
<oper>
The <oper> element defines an operator within a syntax definition.
Typical operators are equals (=), plus (+) or multiply (*). This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph pr-d/oper
Example
<syntaxdiagram>
<title>Adding</title>
<groupseq><kwd>1</kwd><oper>+</oper><var>two</var>
<delim>=</delim><kwd>something</kwd>
</groupseq>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional,
required, or
default. Output processors can indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- default
- This section of the syntax is used by default
or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.24:
<delim>
The <delim> element defines a character marking the beginning or
end of a section within a syntax diagram. Typical delimiter characters are the parenthesis,
comma,
tab, vertical bar or other special characters. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph pr-d/delim
Example
<syntaxdiagram>
<title>Adding</title>
<groupseq><kwd>1</kwd><oper>+</oper><var>two</var><delim>=</delim>
<kwd>something</kwd>
</groupseq>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional or
required. Output processors might indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.25:
<sep>
The <sep> element defines a separator character that is inline
with the content of a syntax diagram. The separator occurs between keywords, operators
or groups in
a syntax definition. This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph pr-d/sep
Example
<syntaxdiagram>
<title>Adding</title>
<groupseq><kwd>1</kwd><oper>+</oper><sep>(</sep><var>two</var><sep>)</sep>
<delim>=</delim><kwd>something</kwd></groupseq>
</syntaxdiagram>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional,
required, or
default. Output processors can indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- default
- This section of the syntax is used by default
or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.4.26:
<repsep>
The <repsep> element provides a repeat separator character within
a syntax diagram to indicate that a group of syntax elements can (or should) be repeated.
If the
<repsep> element contains a separator character such as a plus (+), this
indicates that the character must be used between repetitions of the syntax elements.
This element
is part of the DITA programming domain, a special set of DITA elements
designed to document programming tasks, concepts, and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph pr-d/repsep
Example
In this example, the group can be repeated. When repeated, a comma
should be used between selections.
<groupchoice>
<repsep>,</repsep>
<kwd>This</kwd>
<kwd>That</kwd>
<kwd>The other</kwd>
</groupchoice>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of
@importance, given below) and
@outputclass
.
-
@importance
- The attribute indicates whether this item in a
syntax diagram is optional or
required. Output processors might indicate this
designation in a generated diagram. Allowable
values are:
- optional
- This section of the syntax is optional.
- required
- This section of the syntax is required.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.5: Release-management domain elements
The release-management domain elements contain human-authored information about the
changes that have been made to a DITA topic or map. A processor can retrieve this
information
and use it to assemble documents or topics that contain release note information.
3.3.10.7.5.1:
<change-completed>
Use the <change-completed> element to indicate the date on which
the change was completed.
The recommended best practice is to
use date strings that conform to the ISO 8601 standard, unless a unix-style machine timestamp is used. The string might contain a date and time (for
example, 2007-04-05T12:30-02:00
) or just a date (for example,
2014-03-04
).
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-completed
3.3.10.7.5.2:
<change-historylist>
Use the <change-historylist> element as a container for
individual release notes, as represented by the <change-item> element. It
appears in the topic prolog or the map <topicmeta> element.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/metadata relmgmt-d/change-historylist
Example
This example shows three simple release notes added to a single topic. This topic
is used
in documentation for two products, A and B.
<prolog>
<!-- ... -->
<change-historylist>
<change-item product="productA productB">
<change-person>Tom Cihak</change-person>
<change-organization>JEDEC</change-organization>
<change-completed>2013-03-23</change-completed>
<change-summary>Made change 1 to both products</change-summary>
<data>Details of change 1</data>
</change-item>
<change-item product="productA">
<change-person>Tom Cihak</change-person>
<change-completed>2013-06-07</change-completed>
<change-summary>Made change 2 to product A</change-summary>
<data>Details of change 2</data>
</change-item>
<change-item product="productA productB">
<change-person>Tom Cihak</change-person>
<change-completed>2013-07-20</change-completed>
<change-summary>Made change 3 to both products</change-summary>
<data>Details of change 3</data>
</change-item>
</change-historylist>
<!-- ... -->
</prolog>
3.3.10.7.5.3:
<change-item>
Use the <change-item> element to represent a record of a single
change to a DITA topic or map.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-item
3.3.10.7.5.4:
<change-organization>
Use the <change-organization> element to specify the name of an
organization that required the change.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-organization
3.3.10.7.5.5:
<change-person>
Use the <change-person> element to specify the name of the
person who made the change.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-person
3.3.10.7.5.6:
<change-request-id>
Use the <change-request-id> element to specify an identifier
associated with the change request, such as an issue ID or ticket number.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-request-id
3.3.10.7.5.7:
<change-request-reference>
Use the <change-request-reference> element to provide
information that links the change to an external tracking system.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/metadata relmgmt-d/change-request-reference
3.3.10.7.5.8:
<change-request-system>
Use the <change-request-system> element to specify the name of
an information system that manages or serves the referenced change request, for example,
an
issue tracking system.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-request-system
3.3.10.7.5.9:
<change-revisionid>
Use the <change-revisionid> element to specify a revision ID
string that can identify the change.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-revisionid
3.3.10.7.5.10:
<change-started>
Use the <change-started> element to specify the date on which
the change was initiated.
The recommended best practice is to
use date strings that conform to the ISO 8601 standard, unless a unix-style machine timestamp is used. The string might contain a date and time (for
example, 2007-04-05T12:30-02:00
) or just a date (for example,
2014-03-04
).
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-started
3.3.10.7.5.11:
<change-summary>
Use the <change-summary> element to summarize the change. It is
the portion of the release note that might appear in a document.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
- topic/data relmgmt-d/change-summary
3.3.10.7.6: Software elements
The software domain elements are used to describe the operation
of a software program.
3.3.10.7.6.1:
<msgph>
The <msgph> element is a message phrase that contains the text content of a message
produced by an application or program. It can also contain a variable name
(<varname>) element to illustrate where variable text content can occur
in the message. This element is part of the DITA software domain, a special set of
DITA elements
designed to document software tasks, concepts and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/ph sw-d/msgph
Example
<p>A server log entry of <msgnum>I:0</msgnum> is equivalent to the
text message, <msgph>informational: successful</msgph>.</p>
3.3.10.7.6.2:
<msgblock>
The <msgblock> element contains a multi-line message or set of
messages. The message block can contain multiple message numbers and message descriptions,
each
enclosed in <msgnum> and <msgph> elements. It can
also contain the message content directly. Line breaks and spaces are preserved when
the element
is rendered. This element is part of the DITA software domain, a special set of DITA
elements
designed to document software tasks, concepts and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/pre sw-d/msgblock
Example
<p>A sequence of failed password attempts generates the following
characteristic message stream:</p>
<msgblock>
I:0
S:3
I:1
S:3
I:1
S:4
S:99 (lockup)
</msgblock>
3.3.10.7.6.3:
<msgnum>
The <msgnum> element contains the number of a message produced by
an application or program. This element is part of the DITA software domain, a special
set of
DITA elements designed to document software tasks, concepts and reference
information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword sw-d/msgnum
Example
<p>A server log entry of <msgnum>I:0</msgnum> is equivalent to the
text message, <msgph>informational: successful</msgph>.</p>
3.3.10.7.6.4:
<cmdname>
The <cmdname> element specifies the name of a command when it is part of a software
discussion. This element is part of the DITA software domain, a special set of DITA
elements
designed to document software tasks, concepts and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword sw-d/cmdname
Example
<p>Use the <cmdname>rm</cmdname> command when
you wish to remove something forever.</p>
3.3.10.7.6.5:
<varname>
The <varname> element specifies a variable that must be supplied
to a software application. The variable name element is very similar to the
<var> element, but <varname> is available outside of
syntax diagrams. This element is part of the DITA software domain, a special set of
DITA elements
designed to document software tasks, concepts and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword sw-d/varname
Example
<filepath>
<varname>install-dir</varname>\projects\working\<varname>project-dir</varname>
\source\<varname>filename</varname>.java
</filepath>
3.3.10.7.6.6:
<filepath>
The <filepath> element indicates the name of a referenced file,
system path, or both. This element is part of the DITA software domain, a special
set of DITA
elements designed to document software tasks, concepts and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/ph sw-d/filepath
Example
<p>Uncompress the <filepath>gbbrsh.gz</filepath> file to the
<filepath>/usr</filepath> directory. Ensure that the
<filepath>/usr/tools/data.cfg</filepath> path is listed in
the execution path system variable.</p>
3.3.10.7.6.7:
<userinput>
The <userinput> element represents the text a user should input in
response to a program or system prompt. This element is part of the DITA software
domain, a special
set of DITA elements designed to document software tasks, concepts and reference
information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph sw-d/userinput
Example
<p>After you type <userinput>mealplan dinner</userinput>, the meal planning program
will print a <systemoutput>For what day?</systemoutput> message.
Reply by typing the day of the week for which you want a meal plan,
for example, <userinput>Thursday</userinput>.</p>
3.3.10.7.6.8:
<systemoutput>
The <systemoutput> element represents computer output or responses
to a command or situation. A generalized element, it represents any kind of output
from the
computer, so the author might want to choose more specific
markup, such as <msgph> for messages from the application. The system
output element is part of the DITA software domain, a special set of DITA elements
designed to
document software tasks, concepts and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/ph sw-d/systemoutput
Example
<p>After you type <userinput>mealplan dinner</userinput>, the meal planning program
will print a <systemoutput>For what day?</systemoutput> message.
Reply by typing the day of the week for which you want a meal plan,
for example, <userinput>Thursday</userinput>.</p>
3.3.10.7.8: Task requirements domain
The task requirements domain contains elements for use
in describing tasks that involve machines or other pieces of hardware.
3.3.10.7.8.1:
<prelreqs>
The <prelreqs> element contains
information about preliminary requirements – the things the user needs
to know or do before starting a task. This element contains information
about personnel requirements, safety conditions, support equipment,
supplies, and spare parts.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/section task/prereq taskreq-d/prelreqs
Example
<prelreqs>
<reqconds>
<reqcond>Rear Oil Seal replacement</reqcond>
<reqcontp>Motor Oil Guide</reqcontp>
</reqconds>
<reqpers>
<personnel>2</personnel>
<perscat>Mechanic</perscat>
<perskill>Expert</perskill>
<esttime>2 hours</esttime>
</reqpers>
<supequip>
<supeqli>
<supequi>Driver handle</supequi>
<supequi>Slide hammer</supequi>
<supequi>Axle seal installer</supequi>
</supeqli>
</supequip>
<supplies>
<nosupply/>
</supplies>
<spares>
<sparesli>
<spare>dipstick</spare>
<spare>engine oil</spare>
</sparesli>
</spares>
<safety>
<safecond>All personnel shall wear safety shoes and protective
clothing to reduce the chance of injury.</safecond>
</safety>
</prelreqs>
3.3.10.7.8.2:
<closereqs>
The <closereqs> element contains
information about closing requirements – steps or tasks that the user
should perform after completing a task, for example, "Check around
the vehicle for any drips or leaks."
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/section task/postreq taskreq-d/closereqs
Example
<closereqs>
<reqconds>
<reqcond>Run the engine and then check the
dipstick to ensure the vehicle has enough
oil. </reqcond>
<reqcond>Check around the vehicle for any
drips or leaks. </reqcond>
</reqconds>
</closereqs>
3.3.10.7.8.3:
<reqconds>
The <reqconds> element contains
information about conditions that must be fulfilled before performing
a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/ul task/ul taskreq-d/reqconds
Example
<reqconds>
<reqcond>The system placed on an accessible, flat surface.</reqcond>
<reqcond>All anti-static discharge wrist-straps available.</reqcond>
</reqconds>
3.3.10.7.8.4:
<reqcond>
The <reqcond> element specifies a
condition that must be fulfilled before performing a task, for example,
"Rear Oil Seal replacement."
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/reqcond
Example
<reqconds>
<reqcond>The system placed on an accessible, flat surface.</reqcond>
<reqcond>All anti-static discharge wrist-straps available.</reqcond>
</reqconds>
3.3.10.7.8.5:
<noconds>
The <noconds> element specifies
that there are no conditions to be fulfilled before performing
a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/noconds
Example
<reqconds>
<noconds/>
</reqconds>
3.3.10.7.8.6:
<reqcontp>
The <reqcontp> element specifies a technical publication that can
be used to fulfill a condition before performing a task. It might
also specify a publication that is required in order to fulfill the condition, such
as a list of
local regulations.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/reqcontp
Example
<reqconds>
<reqcontp>USDOD-43109: Preparing your Patriot Missile Control Unit for Railroad Portage.</reqcontp>
<reqcond>The system placed on an accessible, flat surface.</reqcond>
<reqcond>All anti-static discharge wrist-straps available.</reqcond>
</reqconds>
3.3.10.7.8.7:
<reqpers>
The <reqpers> element contains
information about the personnel who are required to perform a task.
This information might specify the number of workers, the type and
skill level of the workers, and the length of time that they will
need to perform the task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/ul task/ul taskreq-d/reqpers
Example
<reqpers>
<personnel>2</personnel>
<perscat>Mechanic</perscat>
<perskill>Expert</perskill>
<esttime>2 hours</esttime>
</reqpers>
3.3.10.7.8.8:
<personnel>
The <personnel> element specifies
the minimum number of workers who are required to perform a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/personnel
Example
<reqpers>
<personnel>2</personnel>
<perscat>Mechanic</perscat>
<perskill>Expert</perskill>
<esttime>2 hours</esttime>
</reqpers>
3.3.10.7.8.9:
<perscat>
The <perscat> element specifies
the type or category of workers that is required by a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/perscat
Example
<reqpers>
<personnel>2</personnel>
<perscat>Mechanic</perscat>
<perskill>Expert</perskill>
<esttime>2 hours</esttime>
</reqpers>
3.3.10.7.8.10:
<perskill>
The <perskill> element specifies the skill level of the workers
who perform the task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/perskill
Example
<reqpers>
<personnel>2</personnel>
<perscat>Mechanic</perscat>
<perskill>Expert</perskill>
<esttime>2 hours</esttime>
</reqpers>
3.3.10.7.8.11:
<esttime>
The <esttime> element provides
an estimate of the time that is required to perform a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/esttime
Example
<reqpers>
<personnel>2</personnel>
<perscat>Mechanic</perscat>
<perskill>Expert</perskill>
<esttime>2 hours</esttime>
</reqpers>
3.3.10.7.8.12:
<supeqli>
The <supeqli> element contains
a list of the tools, support equipment, or monitoring equipment that
is required to perform a task. These pieces of support equipment need
to be assembled prior to beginning the task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ul task/ul taskreq-d/supeqli
Example
<supequip>
<supeqli>
<supequi>Driver handle</supequi>
<supequi>Slide hammer</supequi>
<supequi>Axle seal installer</supequi>
</supeqli>
</supequip>
3.3.10.7.8.13:
<supequi>
The <supequi> element specifies a
tool, a piece of support equipment, or a piece of monitoring equipment
that is needed to perform a task, such as a slide hammer.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/supequi
Example
<supequip>
<supeqli>
<supequi>Driver handle</supequi>
<supequi>Slide hammer</supequi>
<supequi>Axle seal installer</supequi>
</supeqli>
</supequip>
3.3.10.7.8.14:
<supequip>
The <supequip> element contains information about the support
equipment that is required to perform a task. This element either contains children
elements that
specify particular items of support equipment or a <nosupeq> element that
specifies that no support equipment is required.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/p task/p taskreq-d/supequip
Example
<supequip>
<supeqli>
<supequi>Driver handle</supequi>
<supequi>Slide hammer</supequi>
<supequi>Axle seal installer</supequi>
</supeqli>
</supequip>
3.3.10.7.8.15:
<nosupeq>
The <nosupeq> element indicates that
there is no support equipment required to perform a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data task/data taskreq-d/nosupeq
Example
<supequip>
<nosupeq/>
</supequip>
3.3.10.7.8.16:
<supplies>
The <supplies> element contains information
about the supplies or parts that are required to perform a task. These
supplies or parts need to be available prior to beginning the task.
This element either contains children elements that specify particular
supplies or a <nosupply> element that indicates that no supplies
are needed.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/p task/p taskreq-d/supplies
Example
<supplies>
<supplyli>
<supply>gasket</supply>
<supply>engine oil</supply>
</supplyli>
</supplies>
3.3.10.7.8.17:
<supply>
The <supply> element contains information
about a single supply in a list of supplies that are needed to perform
a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/supply
Example
<supplies>
<supplyli>
<supply>gasket</supply>
<supply>engine oil</supply>
</supplyli>
</supplies>
3.3.10.7.8.18:
<supplyli>
The <supplyli> element specifies
a list of supplies needed to perform a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ul task/ul taskreq-d/supplyli
Example
<supplies>
<supplyli>
<supply>gasket</supply>
<supply>engine oil</supply>
</supplyli>
</supplies>
3.3.10.7.8.19:
<nosupply>
The <nosupply> element specifies
that no supplies are needed to perform a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data task/data taskreq-d/nosupply
Example
<supplies>
<nosupply/>
</supplies>
3.3.10.7.8.20:
<spare>
The <spare> element specifies a particular
spare part that is required to perform a task, for example, a "dipstick."
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/spare
Example
<spares>
<sparesli>
<spare>dipstick</spare>
<spare>engine oil</spare>
</sparesli>
</spares>
3.3.10.7.8.21:
<spares>
The <spares> element contains information
about the spare parts that are needed for a task. This information
might specify particular spare parts or it might state that no spare
parts are required.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/p task/p taskreq-d/spares
Example
<spares>
<sparesli>
<spare>dipstick</spare>
<spare>engine oil</spare>
</sparesli>
</spares>
3.3.10.7.8.22:
<sparesli>
The <sparesli> element contains information
about the spare parts that are required to perform a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ul task/ul taskreq-d/sparesli
Example
<spares>
<sparesli>
<spare>dipstick</spare>
<spare>engine oil</spare>
</sparesli>
</spares>
3.3.10.7.8.23:
<nospares>
The <nospares> element specifies
that no spare parts are needed to perform a task.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data task/data taskreq-d/nospares
Example
<spares>
<nospares/>
</spares>
3.3.10.7.8.24:
<nosafety>
The <nosafety> element specifies that there are no safety
conditions to be considered.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/nosafety
Example
<safety>
<nosafety/>
</safety>
3.3.10.7.8.25:
<safecond>
The <safecond> element specifies a safety condition that must be
considered prior to completing a task. It might also contain a
complete hazard statement.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/li task/li taskreq-d/safecond
Example
<safety>
<safecond>All power sources disconnected from the system.</safecond>
<safecond>All networking cables disconnected from the system.</safecond>
</safety>
3.3.10.7.8.26:
<safety>
The <safety> element contains information
about safety conditions. This element either contains children elements
that describe safety conditions or a <nosafety> element that indicates
that there are no safety conditions that must be considered.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ol task/ol taskreq-d/safety
Example
<safety>
<safecond>All power sources disconnected from the system.</safecond>
<safecond>All networking cables disconnected from the system.</safecond>
</safety>
3.3.10.7.9: User interface elements
The user interface domain elements are used to describe the user
interface of a software program.
3.3.10.7.9.1:
<uicontrol>
The <uicontrol> element is used to mark up user interface
controls, such as names of buttons, entry fields, menu items, or other objects that
allow the user
to control the interface. Use the <uicontrol> element inside a
<menucascade> element to identify a sequence of menu choices in a nested
menu, such as . This element is part of the DITA user interface domain, a special set of DITA
elements designed to document user interface tasks, concepts and reference information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph ui-d/uicontrol
Example
<p>Press the <uicontrol>OK</uicontrol> button.</p>
3.3.10.7.9.2:
<wintitle>
The <wintitle> element can be used to mark up names of windows
or dialogs, or other user interface elements at the same level of grouping, including
wizard titles,
wizard page titles, and window pane titles. This element is part of the DITA user
interface domain,
a special set of DITA elements designed to document user interface tasks, concepts
and reference
information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword ui-d/wintitle
Example
<step>
<cmd>Click <uicontrol>Configure</uicontrol>.</cmd>
<stepresult>The <wintitle>Configuration Options</wintitle> window
opens with your last set of selections highlighted.</stepresult>
</step>
3.3.10.7.9.3:
<menucascade>
The <menucascade> element is used to document a series of menu
choices. The <menucascade> element contains one or more user interface
control (<uicontrol>) elements, for example: Start > Programs
> Accessories > Notepad
. If there is more than one
<uicontrol> element, a formatter might show connecting characters
between the menu items to represent the menu cascade. This element is part of the
DITA user
interface domain, a special set of DITA elements designed to document user interface
tasks,
concepts and reference
information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/ph ui-d/menucascade
Example
This example:
<menucascade>
<uicontrol>Start</uicontrol>
<uicontrol>Programs</uicontrol>
<uicontrol>Accessories</uicontrol>
<uicontrol>Notepad</uicontrol>
</menucascade>
May produce output similar to the following:
3.3.10.7.9.4:
<shortcut>
The <shortcut> element identifies
a keyboard shortcut for a menu or window action. This element is part
of the DITA user interface domain, a special set of DITA elements
designed to document user interface tasks, concepts and reference
information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/keyword ui-d/shortcut
Example
This example:
<menucascade>
<uicontrol>Start</uicontrol>
<uicontrol><shortcut>P</shortcut>rograms</uicontrol>
</menucascade>
May produce output similar to the following:
3.3.10.7.9.5:
<screen>
The <screen> element contains or refers to a textual
representation of a computer screen or user interface panel (window).
Use <screen> to contain representations of text-based online panels, text
consoles ("term" or "curses" windows, for example), or other text-based user interface
components.
The default print representation is to enclose the screen within a box, suggesting
a computer
display screen. In contrast to graphical screen captures normally used to represent
GUI parts (see
the
<image>
element description), this
element specifically supports constructions for which text is the primary content.
This element is part of the
DITA user interface domain, a special set of DITA elements designed
to document user interface tasks, concepts and reference
information.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/pre ui-d/screen
Example
Using the <screen> element to represent a DOS edit session
<p>Type "edit" after the command line prompt and press Enter. The following
editing interface will be displayed.</p>
<screen>
File Edit Search View Options Help
+--------------------------------- UNTITLED1 ----------------------------------+
¦ ¦
¦ ¦
¦ ¦
¦ ¦
¦ Line:1 Col:1 F1=Help ¦
+------------------------------------------------------------------------------+
</screen>
Potential result from an rendering process
Type "edit" after the command line prompt and press Enter. The following editing interface
will
be displayed.
File Edit Search View Options Help
+--------------------------------- UNTITLED1 ----------------------------------+
¦ ¦
¦ ¦
¦ ¦
¦ ¦
¦ Line:1 Col:1 F1=Help ¦
+------------------------------------------------------------------------------+
3.3.10.7.10: XML mention domain
Use the XML-mention domain elements for mentions of named XML constructs, including
elements, attributes, entities, processing instructions, and document-type declaration
components. These elements enable specific typographic effects for different construct
types,
precise search and retrieval of specific constructs, and automatic indexing of different
constructs. This domain is intended to support the description and documentation of
XML
document types and XML applications.
Although the original XML 1.0 Recommendation specifically reserved element
names beginning with "xml" or "XML"' for the use of the XML standard itself, the subsequent
introduction of namespaces made the restriction unnecessary. The restriction was formally
removed in the
XML 1.0 Fifth Edition Specification Errata. The OASIS DITA Technical
Committee acknowledges this revised policy in its use of the semantically precise
prefix "xml"
for the XML mention domain.
3.3.10.7.10.1:
<numcharref>
Use the <numcharref> element to identify mentions of XML numeric
character references, for example, " " or "
". This element enables more
precise semantic searching of the DITA source; it also enables distinct output formatting.
The
content of the <numcharref> element should be the numeric value without
any leading or trailing characters added as style, for example, "10" or "x0a". This element is part of the XML mention domain.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword markup-d/markupname xml-d/numcharref
Example
<p>Numeric character references represent characters from the Universal
Character Set (UCS) of Unicode. They are used to reference characters that
cannot easily be directly encoded in a document, such as a copyright
symbol. When a markup-aware processor encounters a numeric character
reference, for example, <numcharref>225</numcharref>, it renders the
reference as the Unicode character that it represents: a-acute.</p>
3.3.10.7.10.2:
<parameterentity>
Use the <parameterentity> element to identify mentions of
parameter entities, for example, "%keyword.content;". This element enables more precise
semantic
searching of the DITA source; it also enables distinct formatting, such as adding
the percentage
sign (%) or trailing semi-colon (;) delimiters to the parameter entity name. The content
of the
<parameterentity> element should be the entity name without the leading
percentage sign or trailing semi-colon. This element is part of the XML mention domain.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword markup-d/markupname xml-d/parameterentity
Examples
<p> ... The <parameterentity>p.content</parameterentity> parameter entity
defines the content model for the <xmlelement>p</xmlelement> element.</p>
<p>To include the XML-mention domain in a DTD document-type shell, you must
declare the <parameterentity>xml-d-dec</parameterentity> parameter entity.</p>
3.3.10.7.10.3:
<textentity>
Use the <textentity> element to identify mentions of XML text
entities, for example, "&xml-d-att;". This element enables more precise semantic searching
of the DITA source; it also enables distinct formatting, such as adding an ampersand
(&) as
a leading character and a semi-colon (;) as a trailing character. The content of the
<textentity> element should be the entity name without the ampersand and semi-colon
delimiters. This element is part of the XML mention domain.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword markup-d/markupname xml-d/textentity p
Example
The <textentity>hi-d-att</textentity> entity holds the contribution for the
<xmlatt>domains</xmlatt> attribute.
3.3.10.7.10.4:
<xmlatt>
Use the <xmlatt> element to identify mentions of XML attributes,
for example, @audience. This element enables more precise semantic searching of
the DITA source; it also enables distinct formatting, such as preceding the name of
the
attribute with a commercial at (@) sign. The content of the <xmlatt>
element should be the attribute name without commercial at or equals (=) characters.
This element is part of the XML mention domain.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword markup-d/markupname xml-d/xmlatt
Example
The <xmlatt>collection-type</xmlatt> and <xmlatt>linking</xmlatt>
attributes affect how related links are generated for topics that are
referenced in the DITA map.
3.3.10.7.10.5:
<xmlelement>
Use the <xmlelement> element to identify mentions of XML element
types. This element enables more precise semantic searching of the DITA source; it
also enables
distinct formatting, such as surrounding the name of the element with angle brackets.
The
content of the <xmlelement> element should be the element type name
without leading or trailing angle brackets. This element is part of the XML mention domain.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword markup-d/markupname xml-d/xmlelement
Example
<p>Use the <xmlelement>uicontrol</xmlelement> (user interface control)
element to indicate the names of buttons, entry fields, menu items, or
other objects that enable a user to interact with a graphical user
interface.</p>
3.3.10.7.10.6:
<xmlnsname>
Use the <xmlnsname> element to identify mentions of namespace
names, for example, "http://dita.oasis-open.org/architecture/2005/". This element
enables more
precise semantic searching of the DITA source; it also enables distinct formatting.
This element is part of the XML mention domain.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword markup-d/markupname xml-d/xmlnsname
Example
The namespace name for XHTML is <xmlnamespace>http://www.w3.org/1999/xhtml</xmlnamespace>.
3.3.10.7.10.7:
<xmlpi>
Use the <xmlpi> element to identify mentions of processing
instruction names, such as <?piname pi value?>
. This element enables
more precise semantic searching of the DITA source; it also enables distinct formatting.
This element is part of the XML mention domain.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+ topic/keyword markup-d/markupname xml-d/xmlpi
Example
While DITA does not define any processing instructions, some applications might
use some DocBook processing instructions, such as <xmlpi>dbhtml_bgcolor</xmlpi>.
3.3.10.7.11: xNAL domain elements
The xNAL domain elements represent a subset of the Extensible
Name and Address Standard. It is used to encode information about
the author or authors of DITA information. The domain can be included
in any DITA document type shell that requires additional metadata
for names and addresses, although the implementations provided by
OASIS only include it in the bookmap document type.
3.3.10.7.11.1:
<authorinformation>
The <authorinformation> element contains detailed information
about the author or authoring organization.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/author xnal-d/authorinformation
Example
<authorinformation>
<personinfo>
<namedetails><personname>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
<contactnumbers><contactnumber>123-555-4678</contactnumber></contactnumbers>
<emailaddresses><emailaddress>wizard@example.org</emailaddress></emailaddresses>
</personinfo>
</authorinformation>
Attributes
The following attributes are available on this element: Universal attribute group, Link relationship attribute group (with a narrowed definition for @type,
given below), and
@keyref
.
-
@type
- Describes the target of a reference. See The @type attribute for detailed information on supported values
and processing implications. Note that this differs from the @type
attribute on many other DITA elements.
Beginning with DITA 1.2, values in this attribute
are not limited to a small number of choices; the
following values were used in DITA 1.0 and DITA
1.1, and are also recognized for the
<author> element (and its
specializations):
- creator
- The primary or original author of the content.
- contributor
- An additional author who is not primary.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
3.3.10.7.11.2:
<addressdetails>
The <addressdetails> element contains information
about the address of the author or authoring group.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph xnal-d/addressdetails
Example
<personinfo>
<namedetails><personname>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
<contactnumbers><contactnumber>123-555-4678</contactnumber></contactnumbers>
<emailaddresses><emailaddress>wizard@example.org</emailaddress></emailaddresses>
</personinfo>
3.3.10.7.11.3:
<administrativearea>
The <administrativearea> element contains information
about a county, state, or province.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph xnal-d/administrativearea
Example
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
3.3.10.7.11.4:
<contactnumber>
A <contactnumber> element contains the contact number
of a person or organization, such as a telephone number, mobile phone
number, or fax number.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/contactnumber
Example
<personinfo>
<namedetails><personname>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
<contactnumbers><contactnumber>123-555-4678</contactnumber></contactnumbers>
<emailaddresses><emailaddress>wizard@example.org</emailaddress></emailaddresses>
</personinfo>
3.3.10.7.11.5:
<contactnumbers>
The <contactnumbers> element contains a list of telephone
and fax numbers.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/contactnumbers
Example
<personinfo>
<namedetails><personname>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
<contactnumbers><contactnumber>123-555-4678</contactnumber></contactnumbers>
<emailaddresses><emailaddress>wizard@example.org</emailaddress></emailaddresses>
</personinfo>
3.3.10.7.11.6:
<country>
The <country> element contains the name of a country.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/ph xnal-d/country
Example
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
3.3.10.7.11.7:
<emailaddress>
The <emailaddress> element contains an e-mail address.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/emailaddress
Example
<personinfo>
<namedetails><personname>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
<contactnumbers><contactnumber>123-555-4678</contactnumber></contactnumbers>
<emailaddresses>
<emailaddress>wizard@example.org</emailaddress>
</emailaddresses>
</personinfo>
3.3.10.7.11.8:
<emailaddresses>
The <emailaddresses> element contains a list of e-mail
addresses.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/emailaddresses
Example
<personinfo>
<namedetails><personname>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>Emerald City</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
<contactnumbers><contactnumber>123-555-4678</contactnumber></contactnumbers>
<emailaddresses><emailaddress>wizard@example.org</emailaddress></emailaddresses>
</personinfo>
3.3.10.7.11.9:
<firstname>
The <firstname> element contains the person's first
name.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/firstname
Example
<namedetails>
<personname>
<honorific>Dr.</honorific>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname>
</namedetails>
3.3.10.7.11.10:
<generationidentifier>
The <generationidentifier> element contains information
about the person's generation, such as: Jr, III, or VIII.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/generationidentifier
Example
<namedetails><personname>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
3.3.10.7.11.11:
<honorific>
The <honorific> element contains the person's title,
such as: Dr., Mr., Ms., or HRH.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/honorific
Example
<namedetails><personname>
<honorific>Dr.</honorific>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>
3.3.10.7.11.12:
<lastname>
The <lastname> element contains the person's last
name.
Content models
See appendix
for information about this element in OASIS document type shells.
Inheritance
+
topic/data xnal-d/lastname
Example
<namedetails><personname>
<honorific>Dr.</honorific>
<firstname>Derek</firstname>
<middlename>L.</middlename>
<lastname>Singleton</lastname>
<generationidentifier>Jr.</generationidentifier>
<otherinfo>noted psychologist</otherinfo>
</personname></namedetails>