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

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

Bibliographic references are cross-references to bibliographic data. To distinguish them from ordinary cross-references, use biblioref. Unlike xref it has additional attributes:

begin

identifies the start of a reference

end

identifies the end of a reference

unit

contains the unit, such as pages, used for the start and end

When this book was written, DocBook stylesheets version 1.73.1 did not fully support these attributes. To use them, customize the stylesheets. The following example shows how to use biblioref.

Example: Using cross-references

<para>
 Siehe <biblioref linkend="bib.tdg"/>.
 ...
 Unter <biblioref linkend="bib.docbookxml" begin="235" unit="pages"/> finden Sie XPath
 ...
 Interessant ist <biblioref linkend="bib.xslt" begin="8" end="10" unit="pages"/> ...
</para>

The first reference in the example points to the entire book. The last two point to a page or range within a bibliographic entry.

To group several bibliographic references, use citation:

Example: Grouped cross-references

Diese Quellenverweise:

<citation><biblioref linkend="bib.tdg"/>, <biblioref linkend="bib.db.wiki"/></citation>

Auf folgende bibliografischen Einträge:

<biblioentry ANKER="bib.tdg">
  <abbrev>tdg</abbrev>
  <title>DocBook</title>
  ...
</biblioentry>
<biblioentry ANKER="bib.db.wiki">
  <abbrev>dbwiki</abbrev>
  <title>DocBook Wiki</title>
  ...
</biblioentry>

Erzeugt diesen Verweis:
[tdg, dbwiki]

Replace the placeholder ANKER with id in DocBook 4 and xml:id in DocBook 5.

  

back to top