Date & Time
XSLT functions for date and time.
Stroom provides a set of custom functions for use in your XSLT translations.
To use them, include the stroom namespace in your stylesheet:
xmlns:stroom="stroom"
E.g.
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet
xmlns="event-logging:3"
xmlns:stroom="stroom"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="2.0">
A function is then called with that prefix, e.g. stroom:format-date(...).
The functions are grouped as follows.
XSLT functions for date and time.
XSLT functions for stream and source.
XSLT functions for reference data.
XSLT functions for networking and uri.
XSLT functions for string and encoding.
XSLT functions for http and json.
XSLT functions for output and logging.
XSLT functions for values and context.
XSLT functions for maths and vectors.