EXSLT
EXSLT is a community initiative to provide XSLT 1.0 extensions, which can be used to write more elegant and readable stylesheets. You can include several EXSLT extensions by setting the corresponding namespaces.
For example, to use the strings
extension in your XSLT, you would write:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:str="http://exslt.org/strings" extension-element-prefixes="strings">
...
</xsl:stylesheet>
Supported EXSLT functions and elements
FIT provides a number of EXSLT functions and elements, which can be used within your XSLTs in the Flow or in Adaptive Components.
| |
---|
| string str:align(string, string, string?) |
| string str:concat(node-set) |
| string str:decode-uri(string, string) |
| string str:encode-uri(string, string, string?) |
| string str:padding(number, string?) |
| node-set str:replace(string, object, object) |
| node-set str:split(string, string?) |
| node-set str:tokenize(string, string?) |