anchor

$Revision: 1.4 $

$Date: 2002/06/12 11:17:59 $

anchor — A spot in the document

Synopsis

Content Model

anchor ::=
EMPTY

Attributes

Name

Type

Default

conformanceNMTOKENSNone
xreflabelCDATANone
archCDATANone
remapCDATANone
osCDATANone
revisionCDATANone
userlevelCDATANone
securityCDATANone
revisionflag
Enumeration:
added
changed
deleted
off
None
idIDRequired
pagenumCDATANone
roleCDATANone
vendorCDATANone
conditionCDATANone

DocBook NG “Bourbon” Content Model

anchor ::=
  • EMPTY

DocBook NG “Bourbon” Attributes

Common attributes (ID required).

Description

An anchor identifies a single spot in the content. This may serve as the target for a cross reference, for example, from a Link. The Anchor element may occur almost anywhere.

Anchor has the Role attribute and all of the common attributes except Lang.

Processing expectations

Anchor has no content and generally produces no output. It is a link target.

Attributes

pagenum

PageNum indicates the page on which the anchor occurs in some printed version of the document.

The PageNum attribute does not influence the pagination or page numbering of an SGML application processing the document; it is informative, not declarative.

See Also

link, olink, ulink, 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>
The anchor element<anchor id="example.anchor.1"/> is empty and contributes
nothing to the flow of the content in which it occurs.  It is only useful
as a target.
</para>

The anchor element is empty and contributes nothing to the flow of the content in which it occurs. It is only useful as a target.