What’s the options to show/output date in HTML in some sort of readable format. I mean if I simply show value of date_last_activity it looks wierd :S
So my question IS does XSLT offers any date format conversions at all?
XML:
<date_last_activity format="MMDDCCYY">04132012</date_last_activity>
XLS template:
<xsl:value-of select="date_last_activity"/>
HTML:
04132012
Would rather like it to look like 04/13/2012…
I readed a lot on XSLT one, I guess it’s possible to make “template” => formatDate… but no idea where to start :S
This transformation:
when applied to the provided XML document:
produces the wanted, correct result:
When the same transformation is applied to the following XML document:
the same correct result is produced: