The <link> Element

Definition and Usage

The <link> element defines a relationship among media and composite objects.

A <link> element may have an id attribute, which uniquely identifies the element within a document, and must have an xconnector attribute, which refers to a connector URI.

The referred <causalConnector> element defines the relation without specifying who plays the relation roles. Who plays is defined using <bind> elements, children of the <link> element.

Syntax

Element Attributes Content Parent
<link> id, xconnector (<linkParam>*, <bind>+) <body> or <context> or <switch>

Attributes

Name Value Description
id It may receive any string value that begins with a letter or an underscore and that only contains letters, digits, “.”, and “_”. The id attribute uniquely identifies the element within a document.
xconnector

String.

The value must have the format:

  1. “alias#connector_id”, or “documentURI_value#connector_id”, for connectors defined in an external imported document, or
  2. “connector_id”, the connector id for connectors defined in the document itself.
The xconnector attribute refers to a connector defined as a descendant element of the <connectorBase> in an external imported document.
Back to top