[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Date

Subject: Re: Date
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Mon, 02 Dec 2002 09:41:29 +0100
Re:  Date
There is nothing known about DATE in XSLT, i.e. there is no data type DATE. You must know, what is a DATE. Or you must use some extension function, but they are processor dependent.

Joerg

Vijaya Kumar Y wrote:
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]

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.