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

Defined in:
Used in:
modules/functions.xsl, modules/blocks.xsl, modules/objects.xsl, modules/verbatim.xsl, modules/tablecals.xsl, modules/inlines.xsl


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


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.