# Using XRefsyle and Olinks

Since version 0.2.7 you can use the `xrefstyle` attribute like you would do with the DocBook Project stylesheets for HTML output.

Furthermore, you can also use `olink`s. Note that Olinking is used in the PDF version of this manual, in .

Actually, the common DocBook Project stylesheets version 1.72 are now used by dblatex to handle all of these features.

These features are fully described in the DocBook XSL: The Complete Guide book by Bob Stayton. In particular, the following sections cover these topics:

- explains how to use `xrefstyle`.

- explains how to use `olink`s.

## Specific xrefstyle for `ulink`

Dblatex defines a template that can be applied through the xrefstyle attribute to format an `ulink`. The template has the following general form: `url[.{show|hide}][.{after|infoot}]`

The principle is that the `show` and `hide` parts override locally for this ulink the `ulink.show` parameter, and the `after` and `infoot` parts override locally the `ulink.footnotes` parameter.

When only one part is defined, only one setup is overriden, and the other setup depends on the corresponding global parameter.

See to have several examples of use of the ulink xrefstyle template.