Changes

Jump to navigation Jump to search
21 bytes added ,  14:40, 10 July 2011
|-
| 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. <code>$input</code> and <code>$stylesheet</code> may can bespecified as<br />
* an <code>xs:string</code>, containing the path to the document,
* an <code>xs:string</code>, containing the document itself, or
* a <code>node()</code> containing the actual document.
The <code>$params</code> argument can be used to bind variables to a stylesheet. It can be specified as
* <code>element(xslt:parameters)</code>: <code>&lt;xslt:parameters/&gt;</code> is must be used as root element, and the parameters are specified as child nodes, with the element name representing the key and the text node representing the value:<br /><code>&lt;xslt:parameters&gt;<br/>&nbsp;&nbsp;&lt;xslt:key1&gt;value1&lt;/xslt:key1&gt;<br/>&nbsp;&nbsp;...<br/>&lt;/xslt:parameters&gt;</code>* [[Map_Functions|map structure]]: All all parameters are can be directly represented as key/value pairs:<br /><code>map { "key1" := "value1", ... </code>}
If Saxon is found in the Java classpath, <code>XSLT 2.0</code> is used. Otherwise, Java’s internal <code>XSLT 1.0</code> implementation is used to do the transformation.<br />
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu