Xsl formatting date (substring + concatenation?)
4 answers
Assuming no spaces remain, just place them one by one:
<xsl:value-of select="substring($Date,7,2)"/>
<xsl:value-of select="substring($Date,5,2)"/>
<xsl:value-of select="substring($Date,1,4)"/>
If spaces are saved, just put them all on a line, with no spaces between them.
The Xpath concatenation function will also work, but I find it less readable:
<xsl:value-of select="concat(substring($Date,7,2), substring($Date,5,2), substring($Date,1,4))"/>
+5