Prop

Identifies an attribute, and usually values in the attribute, to take an action on. The attribute must be a conditional processing attribute: platform, product, audience, props. and otheprops; or a specialization of the props attribute. There can be at most one occurrence of a "prop" element with no attribute specified (setting a default action for every prop element), at most one for each attribute with no value specified (setting the default action for a specific attribute), and at most one with each attribute value specification (to avoid conflicting actions for the same attribute value).


[edit] Contains

startflag (optional) then endflag (optional)


[edit] Contained by

val


[edit] Attributes

Name Description Data Type Default Value Required?
att The attribute to be acted upon. Must be one of props, audience, platform,

product, otherprops, or a specialization of props. If the att attribute is absent, then the prop element declares a default behavior for any conditional processing attribute.

CDATA #IMPLIED no
val The value to be acted upon. If the val attribute is absent, then

the prop element declares a default behavior for any value in the specified attribute.

CDATA #IMPLIED no
action The action to be taken. The options are: include Include the content in output. This is the default behavior unless otherwise

set. exclude Exclude the content from output (if all values in the particular attribute are excluded). 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).

exclude | passthrough | flag) #IMPLIED yes
color If flag has been set, the color to use to flag text. Colors may be

entered by name or code. Processor support is recommended for the color names listed in [[1]] and for the 6 digit hex code form (#rrggbb, case insensitive). If flag has not been set this attribute is ignored.

CDATA #IMPLIED no
backcolor If flag has been set, the color to use as background for flagged

text. Colors may be entered by name or code. Processor support is recommended for the color names listed in [[2]] and for the 6 digit hex code form (#rrggbb, case insensitive). If flag has not been set this attribute is ignored.

CDATA #IMPLIED no
style If flag has been set, the text style to use for flagged text. The

following values are enumerated:

  • underline
  • double-underline
  • italics
  • overline
  • bold
If flag has not been set this attribute is ignored.
double-underline | italics | overline | bold) #IMPLIED no

TOC: Language Specification 1.1
Parent topic: DITAVAL elements
Previous topic: style-conflict
Next topic: revprop

Retrieved from "http://www.ditawiki.org/index.php/Prop"

This page has been accessed 1,000 times. This page was last modified 13:26, 13 July 2007.





This page
Discuss this page
Post a comment
Printable version
My pages
Log in / create account