|-
| valign='top' | '''Summary'''
|Transforms the document specified by <code>$input</code>, using the XSLT template specified by <code>$stylesheet</code>, and returns the result as <code>node()</code> instance.<br /><code>$input</code> and <code>$stylesheet</code> may either be<br />* an <code>xs:string</code> , containing the path to the document,* an XML <code>xs:string</code>, containing the document itself, or* a <code>node()</code> containing the actual document or stylesheet.
If Saxon is found in the Java classpath, <code>XSLT 2.0</code> is used. Otherwise, Java’s internal <code>XSLT 1.0</code> is used to perform the transformation.<br />
|}
[[Category:XQuery]]