# DocBook Cross References

This needs documentation

Modes

`db.xref.content.mode`

  FIXME

`db.xref.tooltip.mode`

  FIXME

Templates

`db.ulink.tooltip`

  Generates the tooltip for an external link

`db.xref.content`

  Generates the content of a cross reference

`db.xref.target`

  Generates the target identifier of a cross reference

`db.xref.tooltip`

  Generates the tooltip for a cross reference

`db.xref.content.mode` FIXME

### Parameters

xrefstyle

  The cross reference style, usually from the `xrefstyle` attribute

role

  For a role-based xrefstyle, the role of the cross reference

### Description

Document this mode
db.xref.content.mode
`db.xref.tooltip.mode` FIXME

### Description

Document this
db.xref.tooltip.mode
`db.ulink.tooltip` Generates the tooltip for an external link

### Parameters

node

  The element to generate a tooltip for

url

  The URL of the link, usually from the `url` attribute

### Description

This needs documentation
db.ulink.tooltip
`db.xref.content` Generates the content of a cross reference

### Parameters

linkend

  The id of the linked-to element, usually from the `linkend` attribute

target

  The linked-to element

xrefstyle

  The cross reference style, usually from the `xrefstyle` attribute

role

  For a role-based xrefstyle, the role of the cross reference

### Description

The xrefstyle/role stuff needs to be documented
db.xref.content
`db.xref.target` Generates the target identifier of a cross reference

### Parameters

linkend

  The id of the linked-to element, usually from the `linkend` attribute

target

  The linked-to element

is_chunk

  Whether target is known to be a chunked element

### Description

Talk about how this works with chunking
db.xref.target
`db.xref.tooltip` Generates the tooltip for a cross reference

### Parameters

linkend

  The id of the linked-to element, usually from the `linkend` attribute

target

  The linked-to element

### Description

Document this
db.xref.tooltip