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 />
|}
==Examples==
'''Example 1: Basic XSL transformation with dummy document and without parameters'''
'''Query:'''
<pre class="brush:xquery">
let $input := <dummy/>
let $xslt := <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match="/">
<result/>
</xsl:template>
</xsl:stylesheet>
return xslt:transform($input, $xslt)
</pre>
'''Result:'''
<pre class="brush:xml"><result/></pre>
[[Category:XQuery]]