Project

Profile

Help

format-date and format-integer are taking alot of time at... » format-date.xslt

Micha Hagg, 2020-04-15 07:35

 
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xsl" version='2.0'>
<xsl:template match="first-call">
First: <xsl:value-of select="format-date(current-date(), '[D] [Mn] [Y]')"/>
</xsl:template>
<xsl:template match="further-call">
Further: <xsl:value-of select="format-date(current-date(), '[D] [Mn] [Y]')"/>
</xsl:template>
</xsl:stylesheet>
(2-2/3)