%rel-atts;

Relational attributes (<%rel-atts;>) is a parameter entity declaration in the topic DTD that includes attributes whose values may be used for representing navigational relationships. These attributes occur only on elements that represent relationships between topics.


[edit] Attributes

Name Description Data Type Default Value Required?
type Describes the target of a cross-reference. See The type attribute for

detailed information on supported values and processing implications.

CDATA #IMPLIED (Processed as if the target were of type "topic", or inherited from an ancestor) No
role The role attribute defines the role the

target topic plays in relationship with the current topic. For example, in a parent/child relationship, the role would be "parent" when the target is the parent of the current topic, and "child" when the target is the child of the current topic. This structure could be used to sort and classify links at display time. See The role attribute for information on supported values.

child | sibling | friend | next | previous | cousin | ancestor sample | external | [deprecated] other | -dita-use-conref-target) #IMPLIED No
otherrole Indicates an alternate role. This value is used when the role attribute

is set to other.

CDATA #IMPLIED No

The %rel-atts; parameter entity is used within the DITA DTDs as a common definition for attributes available to elements that represent topic-to-topic relationships. Some typical examples include:


<link type="task" role="child" href="how2uninst.dita" scope="local"/>


TOC: Language Specification 1.1
Parent topic: Commonly referenced attributes
Previous topic: %id-atts; Next topic: %select-atts;

Retrieved from "http://www.ditawiki.org/index.php/%25rel-atts%3B"

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





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