XML technologies / DocBook / Cross-references and links / External links

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

An external link points outside your document and is specified by a URI. Unlike internal links, external links are not checked during validation. DocBook 4 provides the element ulink:

Example: A ulink with and without text

<para>Dies ist ein Verweis: <ulink url="http://www.docbook.org"/>. Das auch: <ulink url="http://www.docbook.org">DocBook.org</ulink>.</para>

The first ulink is an empty element containing only a url attribute. The generated clickable text and the link target are identical. In the second ulink element, the content and target differ. Here, the clickable text DocBook.org points to the URL "http://www.docbook.org".

DocBook 5 implements external links through XLinks. Therefore, the element ulink is no longer needed in version 5.

  

back to top