olink

olink — A link that addresses its target indirectly

Synopsis

olink ::= [-]

Attributes

Common attributes.

Additional attributes:

  • localinfo
  • targetdoc (anyURI)
  • targetptr
  • type
  • xrefstyle

Description

Unlike link, the semantics of olink are application-specific. The olink element provides a mechanism for establishing links across documents, where ID/IDREF linking is not possible and URI-based linking may be inappropriate.

In general terms, the strategy employed by olink is to point to the target document by URI, and point into that document in some application-specific way.

Other elements can also behave like olink by using the common linking attributes xlink:href and xlink:role. When an element has a xlink:role="http://docbook.org/xlink/role/olink" attribute, then its xlink:href attribute is interpreted using olink semantics. That is, the part of xlink:href before the fragment identifier (#) is interpreted as equivalent to an olink targetdoc attribute value instead of a URI, and the part after the fragment identifier as an olink targetptr attribute value.

Processing expectations

Formatted inline.

An olink points to its target primarily with the targetdoc attribute. The targetdoc is a URI that identifies a target document.

The semantics of the link are controlled by three other attributes: targetptr, localinfo, and type. The targetptr attribute points into the document in some fashion.

The values of localinfo and type may also influence the application. For example, if the targetptr describes some sort of query, localinfo might hold the query text.

Linking elements must not be nested within other linking elements (including themselves). The processing of nested linking elements is undefined.

Attributes

Common attributes.

localinfo

Holds additional information that may be used by the applicatoin when resolving the link

targetdoc

Specifies the URI of the document in which the link target appears

targetptr

Specifies the location of the link target in the document

type

Identifies application-specific customization of the link behavior

xrefstyle

Specifies a keyword or keywords identifying additional style information

Parents

These elements contain olink: abbrev, accel, acronym, address, application, arg, artpagenums, attribution, authorinitials, bibliocoverage, biblioid, bibliomisc, bibliomset, bibliorelation, bibliosource, bridgehead, caption (db.html.caption), citation, citebiblioid, citetitle, city, classname, classsynopsisinfo, code, command, computeroutput, confdates, confnum, confsponsor, conftitle, constant, contractnum, contractsponsor, contrib, country, database, edition, email, emphasis (db._emphasis), emphasis (db.emphasis), entry, envar, errorcode, errorname, errortext, errortype, exceptionname, fax, filename, firstname, firstterm, foreignphrase, funcdef, funcparams, funcsynopsisinfo, function, glosssee, glossseealso, glossterm, guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, hardware, holder, honorific, html:button, html:label, html:legend, initializer, interfacename, issuenum, jobtitle, keycap, keycode, keysym, label, lineage, lineannotation, link, literal, literallayout, manvolnum, markup, mathphrase, member, methodname, modifier, mousebutton, msgaud, msglevel, msgorig, olink, option, optional, orgdiv, orgname, otheraddr, othername, package, pagenums, para, paramdef, parameter, personname, phone, phrase (db._phrase), phrase (db.phrase), pob, postcode, primary, primaryie, productname, productnumber, programlisting, prompt, property, publishername, quote, refdescriptor, refentrytitle, refmiscinfo, refname, refpurpose, releaseinfo, remark, replaceable, returnvalue, revnumber, revremark, screen, secondary, secondaryie, see, seealso, seealsoie, seeie, seg, segtitle, seriesvolnums, shortaffil, simpara, state, street, subscript, subtitle, superscript, surname, symbol, synopsis, systemitem, tag, td, term, termdef, tertiary, tertiaryie, th, title, titleabbrev, tocentry, token, trademark, type, uri, userinput, varname, volumenum, wordasword, year.

See Also

anchor, link, xref

ChangeLog

This alpha reference page is $Revision: 7120 $ published Sun, 22 Jul 2007.