Previous Next

Applies an XSLT transformation to a specified XML document and writes the result to the standard output.



     xml = "expr >> path
     xsl = "expr >> path"
     variable = "value"
  [  variable = "value" ... ]  />

The required xml and xsl are filepaths identifying (respectively) the input XML file and the XSLT stylesheet.

Optional variable-value pairs may be passed as input parameters to the XSLT stylesheet corresponding to <xsl:param> entries within the stylesheet.

xml and xsl must be absolute filepaths or filepaths relative to the location of the script file. The example illustrates the latter.





See also