This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Displaying dates.
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Displaying dates.
- From: Ram Gande <Ram dot Gande at exodus dot net>
- Date: Tue, 10 Apr 2001 15:02:04 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I am new to XSLT and really looking forward to diving into XSLT development
world.
I have the following piece of XSL file. Can anyone tell me how I can display
date on a HTML output.
What I am looking for is an XML input sample to make use of this XSLT file.
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
<xsl:variable name="date"
select="Date:to-string(Date:new())"
xmlns:Date="http://www.jclark.com/xt/java/java.util.Date"/>
</xsl:stylesheet>
-RK
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list