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>
Doctype | Content model |
---|---|
ditabase, reference | ( ( prophead) (optional) then ( property) (one or more) ) |
Doctype | Parents |
---|---|
ditabase, reference | refbody |
- topic/simpletable reference/properties
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 |
Return to main page.
OASIS DITA Version 1.1 Language Specification -- OASIS Standard, 1 August 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.