Changes

Jump to navigation Jump to search
102 bytes added ,  14:38, 10 July 2011
* an <code>xs:string</code>, containing the document itself, or
* a <code>node()</code> containing the actual document.
The <code>$params</code> argument allows two flavors as wellcan 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 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/code> &nbsp;&nbsp;...<br/>&lt;/xslt:parameters&gt;</code>
* [[Map_Functions|map structure]]: All parameters are 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