XML technologies / DocBook / Cross-references and links / Internal cross-references
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
An internal cross-reference stays within the same document. During validation, the XML parser checks whether the reference of type IDREF matches a target of type ID. Otherwise, the document is invalid.
In modular documents, a reference and its target can be in different files while remaining internal. After assembly, the target must be within the same document.
DocBook provides these cross-reference elements:
| cross-reference to a bibliographic entry |
| cross-reference to a |
| cross-reference to a footnote ( |
| general cross-reference. Use |
All these internal cross-references are empty elements. Three important attributes control their reference text:
| References an anchored element in the same document. The anchor and the value of |
| Points to an element whose content supplies the reference text. |
| Controls cross-reference rendering. Its content depends on the publishing system. |
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top