<revprop>
Contains
Contained by
Example
See the example in the <val> description.
Attributes
The following attributes are available on this element:
- @val
- The value to be acted upon. If the @val attribute is absent, then the <revprop> element declares a default behavior for any value in the @rev attribute.
- @action (REQUIRED)
- The action to be taken. Allowable values are:
- include
- Include the content in output without flags. This is the default behavior unless otherwise set.
- passthrough
- Include the content in output, and preserve the attribute value as part of the output stream for further processing by a runtime engine, for example runtime filtering based on individual user settings. The value should be preserved in whatever syntax is required by the target runtime. Values that are not explicitly passed through should be removed from the output stream, even though the content is still included.
- flag
- Include and flag the content on output (if the content has not been excluded).
- @changebar
- When flag has been set, specify a changebar color, style, or character, according to the changebar support of the target output format. If flag has not been set, this attribute is ignored.
- @color
- If flag has been set, the color to use to flag text. Colors can be entered by name or code. Processors SHOULD support the color names listed under the heading "<color>" in http://www.w3.org/TR/2006/REC-xsl11-20061205/#datatype and for the 6 digit hex code form (#rrggbb, case insensitive). If flag has not been set, this attribute is ignored.
- @backcolor
- If flag has been set, the color to use as background for flagged text. Colors can be entered by name or code. Processor support is recommended for the color names listed under the heading "<color>" in http://www.w3.org/TR/2006/REC-xsl11-20061205/#datatype and for the 6 digit hex code form (#rrggbb, case insensitive). If flag has not been set, this attribute is ignored.
- @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:
- underline
- double-underline
- italics
- overline
- bold
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.