param
A <param> element can be used to pass information to the XSL stylesheet.
<x:view id="defaultView">
<x:transform xsl="stylesheet.xsl">
<x:param name="someSetting">true</param>
</x:transform>
</x:view>Default parameters
A couple of parameters are automatically passed to the stylesheet:
- xopus
-
Always
true(). This allows you to use the same stylesheet within and outside of Xopus, while allowing for differences. - xopus-language
-
The language code of the Xopus user-interface.
- Documentation
- › Configuration
- › Elements
- › param
param element
Namespace: http://www.xopus.com/xmlns/config
Attributes
- name
- Name of the parameter, that matches the
nameattribute of the<xsl:param>element.
Parent Elements
History
| version | event |
|---|---|
| Xopus 4.0.2 | Tested, and confirmed to work correctly. |
| Xopus 4.0.0 | Bug. Unavailable. Fixed in Xopus 4.0.2. |
| Xopus 3 | Introduction. |