xslt id filename id [(params|parameters) name=expression [name=expression ...]]


transform, xsl, xsltproc, process


Load an XSLT stylesheet from a file and use it to transform the document of the first id into a new document named id. Parameters may be passed to a stylesheet after params keyword in the form of a list of name=value pairs where name is the parameter name and value is an expression interpolating to its value. The resulting value is interpretted by XSLT processor as an XPath expression so e.g. quotes surrounding a XPath string have to be quoted themselves to preveserve them during the XSH expression interpolation.

xslt src stylesheet.xsl rslt params font="'14pt'" color="'red'"