3.2.3.5 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 single type, create additional property elements and use only the <propvalue> element (and <propdesc> when needed) for each successive value.

Contains

Doctype

Content model

ditabase, reference, learningContent

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

Contained by

Doctype

Content model

ditabase, reference, learningContent

refbody, refbodydiv

Inheritance

- topic/simpletable reference/properties

Example
<properties>
  <prophead>
		<proptypehd>Visual Element</proptypehd>
		<propvaluehd>Value</propvaluehd>
		<propdeschd>Implication</propdeschd>
  </prophead>
  <property>
    <proptype>color</proptype>
    <propvalue>red</propvalue>
    <propdesc>depicts anger</propdesc>
  </property>
  <property>
    <propvalue>green</propvalue>
    <propdesc>depicts permission</propdesc>
  </property>
</properties>         
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 can contains headings for each row. No value indicates no key column. When present, the numerical value causes the specified column to be treated as a vertical header.

NMTOKEN

#IMPLIED

No

refcols

The refcols attribute is currently undefined, and is reserved for future use.

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 attribute group (scale, frame, expanse)

A set of related attributes, described in 3.4.1.1 display-atts attribute group

     

univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups)

A set of related attributes, described in 3.4.1.3 univ-atts attribute group

     

global-atts attribute group (xtrf, xtrc)

A set of related attributes, described in 3.4.1.2 global-atts attribute group

     

class, outputclass

Common attributes described in 3.4.1.9 Other common DITA attributes

     

Previous Topic:  3.2.3.4 refsyn

Next Topic:  3.2.3.6 prophead

Parent Topic:  3.2.3 Reference elements

Sibling Topics:

3.2.3.1 reference

3.2.3.2 refbody

3.2.3.3 refbodydiv

3.2.3.4 refsyn

3.2.3.6 prophead

3.2.3.7 proptypehd

3.2.3.8 propvaluehd

3.2.3.9 propdeschd

3.2.3.10 property

3.2.3.11 proptype

3.2.3.12 propvalue

3.2.3.13 propdesc