f:pi-attributes

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

Function:
{http://docbook.org/ns/docbook/functions}pi-attributes#1
Defined in:
../standalone-functions.xsl
Used in:
main.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.