RE: [xsl] Date

Subject: RE: [xsl] Date
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 2 Dec 2002 09:39:43 -0000
> 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)

How on earth do you expect anyone on this list to know enough about your
data to answer that question?

You could try testing to see whether it is 8 digits and whether the last
four digits are a number in the range 1970 to 2030. If you don't like
that rule, then you should be able to think of a better one. If you
can't, it's because the whole idea is misguided. Why are you processing
incoming XML documents whose tags you don't understand?

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread