use.role.as.xrefstyle
boolean
use.role.as.xrefstyle
Use role attribute for
xrefstyle on xref?
Description
If non-zero, the role attribute on
xref will be used to select the cross reference style.
The DocBook
Technical Committee recently added an
xrefstyle attribute for this purpose.
If the xrefstyle attribute
is present, role will be ignored, regardless
of this setting.
Until an official DocBook release that includes the new
attribute, this flag allows role
to serve that purpose.
Example
The following small stylesheet shows how to configure the stylesheets to make
use of the cross reference style:
]]>
With this stylesheet, the cross references in the following document:
Book
Preface
Normal: .
Title: .
First Chapter
Irrelevant.
]]>
will appear as:
Normal: Chapter 1.
Title: Chapter 1, First Chapter.