XProc/Multiple XSLT Pipe

Pipeline incorporating multiple XSLT transformations
The following pipeline uses a sequence of three different transforms with each successive XSLT transformation using the results of the previous one. Each stylesheet is specified within a pipeline/xslt element that at minimum contains a stylesheet input with the stylesheet specified in an input/document/@href.

Parameters for multiple XSL transformations
To pass parameters into the stylesheets from the XProc script use the with-param element. In the following example the first and third stylesheets both have a parameter named "foo". In the first stylesheet it is desired to have a "foo" parameter value be "one". In the third stylesheet it is desired to set a "foo" parameter to "three".