FreeCalypso > hg > tcs211-fcmodem
diff gpf/util/sape/xslt/date.xsl @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpf/util/sape/xslt/date.xsl Mon Jun 01 03:24:05 2015 +0000 @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" extension-element-prefixes="ext-pack" xmlns:ext-pack="xalan://com.ti.xslt.extension"> + <!-- template to format a date expression--> + <xsl:template match="Date"> + <xsl:value-of select="ext-pack:DateString.format(./@Year, ./@Month, ./@Day)"/> + </xsl:template> +</xsl:stylesheet>