ulink

$Revision: 3588 $

$Date: 2004-05-19 11:56:44 -0400 (Wed, 19 May 2004) $

ulink — A link that addresses its target by means of a URL (Uniform Resource Locator)

Synopsis

Mixed Content Model

ulink ::=
(%para.char.mix;)*

Attributes

Common attributes

Name

Type

Default

xrefstyleCDATANone
urlCDATARequired
typeCDATANone

Parameter Entities

The following parameter entities contain ulink:

Parameter Entities
%cptr.char.mix;%docinfo.char.mix;%indexdivcomponent.mix;
%link.char.class;%ndxterm.char.mix;%para.char.mix;
%refinline.char.mix;%tbl.entry.mdl;%title.char.mix;
%word.char.mix;  

Description

The ULink element forms the equivalent of an HTML anchor (<A HREF="...">) for cross reference by a Uniform Resource Locator (URL).

Processing expectations

Formatted inline. When rendered online, it is natural to make the content of the ULink element an active link. When rendered in print media, the URL might be ignored, printed after the text of the link, or printed as a footnote.

When the content of the ULink element is empty, i.e., for either of the following cases: <ulink url="..."/> and <ulink url="..."></ulink>, the content of the url attribute should be rendered as the text of the link.

Linking elements must not be nested within other linking elements (including themselves). Because DocBook is harmonizing towards XML, this restriction cannot easily be enforced by the DTD. The processing of nested linking elements is undefined.

Future Changes

The InterfaceDefinition element will be discarded in DocBook V4.0. It will no longer be available in the content model of this element.

Parents

These elements contain ulink: abbrev, ackno, acronym, action, application, artpagenums, attribution, authorinitials, bibliocoverage, biblioid, bibliomisc, bibliorelation, bibliosource, bridgehead, citation, citebiblioid, citetitle, city, classsynopsisinfo, code, collabname, command, computeroutput, confdates, confnum, confsponsor, conftitle, contractnum, contractsponsor, contrib, corpauthor, corpcredit, corpname, country, database, date, edition, email, emphasis, entry, fax, figure, filename, firstname, firstterm, foreignphrase, funcparams, funcsynopsisinfo, function, glosssee, glossseealso, glossterm, hardware, holder, honorific, indexdiv, informalfigure, interfacename, invpartnumber, isbn, issn, issuenum, jobtitle, keycap, label, lineage, lineannotation, link, literal, literallayout, lotentry, manvolnum, member, modespec, msgaud, olink, option, optional, orgdiv, orgname, otheraddr, othername, pagenums, para, parameter, phone, phrase, pob, postcode, primary, primaryie, productname, productnumber, programlisting, property, pubdate, publishername, pubsnumber, quote, refentry, refentrytitle, refmiscinfo, refnamediv, refpurpose, releaseinfo, remark, replaceable, revnumber, revremark, screen, screeninfo, secondary, secondaryie, see, seealso, seealsoie, seeie, seg, segtitle, seriesvolnums, shortaffil, simpara, state, street, subscript, subtitle, superscript, surname, synopsis, systemitem, td, term, termdef, tertiary, tertiaryie, th, title, titleabbrev, tocback, tocentry, tocfront, trademark, ulink, userinput, volumenum, wordasword, year.

Attributes

type

Type is available for application-specific customization of the linking behavior.

url

URL specifies the Uniform Resource Locator that is the target of the ULink.

See Also

anchor, link, olink, xref.

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<para>
For more information, see the O'Reilly catalog entry for
<ulink url="http://www.ora.com/catalog/tex/"><citetitle>Making TeX
Work</citetitle></ulink>.
</para>

For more information, see the O'Reilly catalog entry for Making TeX Work.

For additional examples, see also olink, productnumber, systemitem.