DocBook xslTNG Reference

$xlink-style

$xlink-style — Presentation style for XLink extended links.

Parameter:
{}xlink-style
Defined in:
param.xsl
Used in:
parameter-maps.xsl, modules/xlink.xsl
Used by:
f:xlink-style()

Synopsis

$xlink-style := 'document'

Description

The stylesheets support XLink extended links. Extended links make it possible to have one-to-many links. That is, a single link such as DocBook [DocBook.org, DocBook on Wikipedia] may point to more than one target. Two styles are supported: “inline” which renders a link to each target inline after the originating link, and “javascript” which uses JavaScript to create a popup menu for the links.

The XLink style for a document applies to the entire document, you cannot specify inline presentation in some cases and JavaScript presentation in others. However, if you specify “document” as the value for $xlink-style, then a db processing instruction in the document’s top-level info element can be used to control the presentation. Specify the style in the xlink-style pseudo-attribute.

If the document style is selected and no processing instruction specifying a style exists, the $xlink-style-default style will be selected.

$xlink-js
$xlink-style-default
Copyright © 2020–2022 Norman Walsh.