<prop>
The <prop>
element identifies an attribute, and usually values in
the attribute, to take an action on. The attribute either must be a conditional-processing
attribute (@platform
, @product
, @audience
,
@deliveryTarget
, @props
, and
@otherprops
) or a specialization of the @props
attribute.
<prop>
element can
do one of the following:<prop>
element with no @att
attribute specified
sets a default action for every <prop>
element. It is an error to
use more than one <prop>
element with no attribute in a single
document. Recovery from this error is implementation dependent; in such cases processors
MAY provide an error or warning message.<prop>
element with an @att
attribute but no
@val
attribute sets a default action for that specific attribute or attribute group. For each specific attribute, it is an
error to use more than one <prop>
element with that attribute and
no value in a single document. Recovery from this error is implementation dependent; in
such cases processors MAY provide an error or warning
message.<prop>
element with an @att
attribute and a
@val
attribute sets an action for that value within that attribute or attribute group. It is an error to use more than one
<prop>
element with the same attribute and value. Recovery from
this error is implementation dependent; in such cases processors MAY provide an error or warning message. See the example in the <val> description.
@att
@props
, @audience
,
@platform
, @product
, @otherprops
,
@deliveryTarget
, or a specialization of
@props
. Otherwise, the value should be the name of a group used
within the @audience
, @platform
,
@product
, or @otherprops
attributes. If the
@att
attribute is absent, then the <prop>
element declares a default behavior for any conditional processing attribute.@val
@val
attribute is absent, then
the <prop>
element declares a default behavior for any value in
the specified attribute.@action
(REQUIRED)@color
@backcolor
@style
If flag has been set, the text styles to use for flagged text. This attribute can contain multiple space-delimited tokens. The following tokens SHOULD be processed by all DITAVAL processors:
In addition, processors might support other proprietary tokens for different types of styling. Such tokens SHOULD have a processor-specific prefix to identify them as proprietary. If a processor encounters an unsupported style token, it MAY issue a warning, and MAY render content flagged with such a style token using some default formatting.
If flag has not been set, this attribute is ignored.