# DocBook to HTML - Bibliographies

This module provides templates to process DocBook bibliograpies.

## Modes

`db2html.biblioentry.mode`

- Formats elements inside a `biblioentry` element

`db2html.bibliomixed.mode`

- Formats elements inside a `bibliomixed` element

## Templates

`db2html.biblioentry.label`

- Outputs the label for a bibliography entry

`db2html.biblioentry.mode`

Formats elements inside a `biblioentry` element

### Description

This mode is used when processing the child elements of a `biblioentry` element. Many elements are treated differently when they appear inside a bibliography entry.

`db2html.bibliomixed.mode`

Formats elements inside a `bibliomixed` element

### Description

This mode is used when processing the child elements of a `bibliomixed` element. Many elements are treated differently when they appear inside a bibliography entry.

`db2html.biblioentry.label`

Outputs the label for a bibliography entry

### Parameters

`node`

- The `biblioentry` or `bibliomixed` element to generate a label for

### Description

This outputs a label to be placed inline at the beginning of a bibliography entry. Labels are created for both `biblioentry` and `bibliomixed` elements. The label is typically an abbreviation of the authors' names an the year of publication. In DocBook, it is usually provides with a leading `abbrev` element. Without a leading `abbrev` element, this template will instead use the `xreflabel` or `id` attribute.