Sorry , Sorry the question was how to identify that it is a date value(or in
the other words how do u decide whether it is date)
like in any other languages we check like IsDate("23122002") ,
in same way can i know whether it is a date based on that i would like to
format the date part
regards
Vijay
-----Original Message-----
From: Stevenson Ngila [mailto:Stevenson@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Monday, December 02, 2002 11:33 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: Date
Try:
<xsl:value-of
select="substring(Row[@id='0']/Col[@name='MfgDate'][@value],1,2 )"
<xsl:value-of
select="substring(Row[@id='0']/Col[@name='MfgDate'][@value],3,2 )"
<xsl:value-of
select="substring(Row[@id='0']/Col[@name='MfgDate'][@value],5,4 )"
Am not very sure about the path, but the general idea is to use the
substring function.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Date
- Vijaya Kumar Y - Mon, 2 Dec 2002 00:17:26 -0500 (EST)
- <Possible follow-ups>
- Vijaya Kumar Y - Mon, 2 Dec 2002 00:25:22 -0500 (EST)
- Vijaya Kumar Y - Mon, 2 Dec 2002 01:54:56 -0500 (EST) <=
|
|