Changeset 760
- Timestamp:
- May 18, 2010, 11:43:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr2ccd-xslt/trunk/templates/datetime.xsl
r747 r760 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:astm-org:CCR" xmlns:date="http://exslt.org/dates-and-times" xmlns:fo="http://www.w3.org/1999/XSL/Format">2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:astm-org:CCR" xmlns:date="http://exslt.org/dates-and-times" exclude-result-prefixes="a date"> 3 3 <!-- Displays the DateTime. If ExactDateTime is present, it will format according 4 4 to the 'fmt' variable. The default format is: Oct 31, 2005 --> 5 5 <xsl:import href="../lib/date.format-date.template.xsl"/> 6 <xsl:template name="dateTime" match=" DateTime">6 <xsl:template name="dateTime" match="a:DateTime"> 7 7 <xsl:param name="dt" select="."/> 8 8 <xsl:param name="fmt">MMM dd, yyyy</xsl:param>
Note:
See TracChangeset
for help on using the changeset viewer.