This shows you the differences between two versions of the page.
— |
link [2014/09/16 14:26] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== The <link> Element ===== | ||
+ | ==== Definition and Usage ==== | ||
+ | |||
+ | The [[link|<link>]] element defines a relationship among media and composite | ||
+ | objects. | ||
+ | |||
+ | A [[link|<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|<causalConnector>]] element defines the relation without | ||
+ | specifying who plays the relation roles. Who plays is defined using | ||
+ | [[bind|<bind>]] elements, children of the [[link|<link>]] element. | ||
+ | |||
+ | ==== Syntax ==== | ||
+ | ^ Element ^ Attributes ^ Content ^ Parent ^ | ||
+ | | [[link|<link>]] | //id//, __//xconnector//__ | ([[linkparam|<linkParam>]]*, [[bind|<bind>]]+) | [[body|<body>]] or [[context|<context>]] or [[switch|<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// | <html><p></html>String.<html></p></html><html><p></html>The value must have the format:<html></p></html><html><ol></html><html><li class="level1"><div class="li"></html>"alias#connector_id", or "documentURI_value#connector_id", for connectors defined in an external imported document, or<html></div></li></html><html><li class="level1"><div class="li"></html>"connector_id", the connector //id// for connectors defined in the document itself.<html></div></li></html> | The //xconnector// attribute refers to a connector defined as a descendant element of the [[connectorbase|<connectorBase>]] in an external imported document. | | ||
+ | |||
+ | |||
+ | |||