Common Attributes

There are many common attributes that occur on every DocBook element. They are summarized here for brevity and to make the additional attributes that occur on many elements stand out.

NameType
annotationstext
dir
Enumeration:
ltr
rtl
lro
rlo
remaptext
revisionflag
Enumeration:
changed
added
deleted
off
roletext
versiontext
xml:baseanyURI
xml:idID
xml:langtext
xreflabeltext
annotations

Identifies one or more annotations that apply to this element

dir

Identifies the direction of text in an element:

ltr

Left-to-right text

rtl

Right-to-left text

lro

Left-to-right override

rlo

Right-to-left override

remap

Provides the name or similar semantic identifier assigned to the content in some previous markup scheme

revisionflag

Identifies the revision status of the element:

changed

The element has been changed.

added

The element is new (has been added to the document).

deleted

The element has been deleted.

off

Revision markup has been explicitly turned off for this element.

role

Provides additional, user-specified classification for an element

version

Specifies the DocBook version of the element and its descendants

xml:base

Specifies the base URI of the element and its descendants

xml:id

Identifies the unique ID value of the element

xml:lang

Specifies the natural language of the element and its descendants

xreflabel

Provides the text that is to be generated for a cross-reference to the element

Common Effectivity Attributes

The common attributes include a collection of effectivity attributes. These attributes are available for ...

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.