|
|
Line 1: |
Line 1: |
− | 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. | + | This module contains [[Querying#Functions|Functions]] and Variables to perform XSLT 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== | | ==xslt:processor== |
Revision as of 02:53, 10 July 2011
This module contains Functions and Variables to perform XSLT transformations. All functions are preceded by the xslt:
prefix, which is linked to the http://www.basex.org/xslt
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
Signatures
|
xslt:processor as xs:string
|
Summary
|
This variable returns the name of the XSLT processor (currently: Java or Saxon).
|
xslt:version
Signatures
|
xslt:version as xs:string
|
Summary
|
This variable returns the supported XSLT version (currently: 1.0 or 2.0).
|
xslt:transform
Signatures
|
xslt:transform($input as item(),$stylesheet as item()) as node()
xslt:transform($input as item(),$stylesheet as item(),$params as item()) as node()
|
Summary
|
Transforms the specified $input , using the specified XSLT $stylesheet , and returns the result as node() .
|