1,401 bytes added
, 02:52, 10 July 2011
This module contains [[Querying#Functions|XSLT Functions]] and Variables related to XSL transformations. All functions are preceded by the <code>xslt:</code> prefix, which is linked to the <code><nowiki>http://www.basex.org/xslt<nowiki></code> namespace. By default, this module relies on the internal XSLT 1.0 implementation of Java. If Saxon is found in the classpath, XSLT 2.0 is used.
==xslt:processor==
{|
|-
| valign='top' width='90' | '''Signatures'''
|<code><b>xslt:processor</b> as xs:string</code><br />
|-
| valign='top' | '''Summary'''
|This variable returns the name of the XSLT processor (currently: <code>Java<code> or <code>Saxon<code>).<br />
|}
==xslt:version==
{|
|-
| valign='top' width='90' | '''Signatures'''
|<code><b>xslt:version</b> as xs:string</code><br />
|-
| valign='top' | '''Summary'''
|This variable returns the supported XSLT version (currently: <code>1.0<code> or <code>2.0<code>).<br />
|}
==xslt:transform==
{|
|-
| valign='top' width='90' | '''Signatures'''
|<code><b>xslt:transform</b>($input as item(),$stylesheet as item()) as node()</code><br /><code><b>xslt:transform</b>($input as item(),$stylesheet as item(),$params as item()) as node()</code>
|-
| valign='top' | '''Summary'''
|Transforms the specified <code>$input</code>, using the specified XSLT <code>$stylesheet</code>, and returns the result as <code>node()</code>.<br />
|}
[[Category:XQuery]]