Whole document tree
    

Whole document tree

OLink

OLink

Name

OLink -- Link that addresses its target by use of an entity

Description

Link that addresses its target by use of an entity. OLink may contain in-line elements and has common, TargetDocEnt, LinkMode, Type, and LocalInfo attributes.

In contrast to Link, OLink has no Linkend attribute, but rather a TargetDocEnt, the value of which is the name of a text or data entity already defined by the user. The LinkMode attribute points by ID to a ModeSpec; for convenience, ModeSpecs are located in the BookInfo. ModeSpec contains instructions (probably application-specific) for operating on the entity named by TargetDocEnt. e.g., the TargetDocEnt is another Book, and the ModeSpec specifies that all the second-level headings should be searched for a phrase. The LocalInfo attribute may be used to hold such a Phrase, which may be thought of as a replacement for some variable in ModeSpec.

Attributes

TargetDocEnt

TargetDocEnt holds the name of an entity that is to be the target of the OLink.

LinkMode

LinkMode holds the ID of a ModeSpec that contains instructions for operating on the entity named by TargetDocEnt.

LocalInfo

LocalInfo hold information that may be passed to the applicable ModeSpec when resolving the OLink.

Type

Type indicates how the Members of the SimpleList should be formatted: Inline (Members separated by commas, etc., inline), Vert (top to bottom in the number of columns indicated by the Columns attribute), or Horiz (right to left or left to right, depending on current text flow) in the number of columns indicated by the Columns attribute). The default is Vert. If Column is 1 or #IMPLIED, Type=Vert and Type=Horiz give the same results.

Examples

<PARA><MODESPEC ID="mo123" APPLICATION="FAX">usenumericipaddr</MODESPEC>
To warm up, we provide a <ANCHOR ID="proan123"> target in
<PHRASE ID="proan124">the same place</PHRASE>, pretty much.
To go there,
<LINK LINKEND="proan123" TYPE="info">click here</LINK>
and say goodbye.  Or click to go to
<LINK LINKEND="proan123" ENDTERM="proan124"></LINK>.
You may prefer to 
<ULINK URL="http://foo.bar.com/index.html" TYPE="alternate">click
here</ULINK> instead.  And if that doesn't work, just
<OLINK TARGETDOCENT="foobar" LINKMODE="mo123" 
LOCALINFO="noretry" TYPE="desperate">click here</OLINK>
and give up all hope.
</PARA>