Name

t:inline — Process an inline element.

Template:
{http://docbook.org/ns/docbook/templates}inline
Defined in:
modules/inlines.xsl
Used in:
modules/bibliography.xsl, modules/glossary.xsl, modules/info.xsl, modules/blocks.xsl, modules/inlines.xsl, modules/links.xsl, modules/publishers.xsl

Synopsis

<xsl:template name="t:inline">
  <xsl:param name="namemap"/>
  <xsl:param name="class" as="xs:string*"/>
  <xsl:param name="local-name-as-class" as="xs:boolean"/>
  <xsl:param name="content"/>
  <xsl:param name="extra-attributes" as="attribute()*"/>
</xsl:template>

Description

All of the inline elements are processed by t:inline. This provides a common place to handle the fact that any of them might be a link. Several parameters exist to handle variations in presentation:

namemap

Maps the element to a particular HTML element. Defaults to span.

class

A list of tokens that should be added to the element’s class attribute.

local-name-as-class

If this is true, the local name of the DocBook element being processed will be added to the classes.

content

The element content. By default, this is obtained by applying XSLT templates to the element’s content.

extra-attributes

Extra attributes to be added to the element.