Name

f:pi-attributes — Returns processing-instruction pseudo-attributes as attributes.

Function:
{http://docbook.org/ns/docbook/functions}pi-attributes#1
Defined in:
modules/functions.xsl
Used in:
modules/functions.xsl, modules/blocks.xsl, modules/objects.xsl, modules/verbatim.xsl, modules/tablecals.xsl, modules/inlines.xsl

Synopsis

f:pi-attributes($pis as processing-instruction()*) as element()?

Description

Using pseudo-attributes in a db processing instruction is a convenient mechanism for providing additional options to the stylesheets. But processing them is tedious. This function gathers together the pseudo-attributes specified in a series of processing instructions and returns them as attributes on an element. If the same property occurs more than once in the sequence, the last value will be returned.