Properties

The <properties> element gives a list of properties for the subject of the current topic, for example whether a class is public or protected. Each property can include the type, value, and a description. The typical rendering is usually in a table-like format. To represent multiple values for a type, just create additional property elements and use only the <propvalue> element (and <propdesc>

when needed) for each successive value.


<properties>
  <prophead>
		<proptypehd>Visual Element</proptypehd>
		<propvaluehd>Value</propvaluehd>

		<propdeschd>Implication</propdeschd>
  <property>
    <proptype>color</proptype>
    <propvalue>red</propvalue>

    <propdesc>depicts anger</propdesc>
  </property>
  <property>
    <propvalue>green</propvalue>
    <propdesc>depicts permission</propdesc>

  </property>
</properties>         

Contents

[edit] Contains

Doctype Content model
ditabase, reference ( (

prophead) (optional) then ( property) (one or more) )

[edit] Contained by

Doctype Parents
ditabase, reference refbody

[edit] Inheritance:

- topic/simpletable reference/properties


[edit] Attributes

Name Description Data Type Default Value Required?
relcolwidth A relative value to specify the width of a column in relationship

to the width of the other columns. The values are totaled and made a percent. For example:

relcolwidth="1* 2* 3*"
causes

widths of 16.7%, 33.3%, and 66.7%.

relcolwidth="90* 150*"


causes

width of 37.5% and 62.5%.

CDATA #IMPLIED No
keycol Defines the column that will be used for row headings. No value indicates

no key column. When present, the numerical value causes the specified column to be highlighted as a vertical header.

NMTOKEN #IMPLIED No
refcols Designates columns that contain references, and are candidates for

automated linking. Columns are identified by a space-delimited list of numbers (for example: 1 3).

NMTOKENS #IMPLIED No
spectitle The specialized title attribute allows architects of specialized

types to define a fixed or default title for a specialized element. Not intended for direct use by authors.

CDATA #IMPLIED No
%display-atts; (scale, frame, expanse) A set of related attributes, described at %display-atts; parameter entity PE not

applicable

Not applicable
%univ-atts; (%select-atts;, %id-atts;, %localization-atts;) A set of related attributes, described at %univ-atts; parameter entity PE not

applicable

Not applicable
%global-atts; (xtrf, xtrc) A set of related attributes, described at %global-atts; parameter entity PE not

applicable

Not applicable
class, outputclass Common attributes described in Other common DITA attributes      

TOC: Language Specification 1.1
Parent topic: Reference elements
Previous topic: refsyn
Next topic: prophead

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

This page has been accessed 868 times. This page was last modified 23:28, 11 July 2007.





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