Subject: [xsl] template to validate dates? From: Glen Mazza <grm7793@xxxxxxxxx> Date: Mon, 9 Apr 2007 11:47:54 -0700 (PDT) |
Hello, I have a requirement to convert dates from one format to another. There is additional complexity though: if the date is invalid (say, March 42, 2007 or June 5, 20a02) to just return the invalid date. (We are taking the data and loading it into Oracle, if the date format is invalid it will raise a database error and we will handle it there.) A date conversion template is not a problem--I've done that multiple times in the past, but what is new for me is trying to validate a date using XSLT functions. Does anyone know of an available template somewhere on the 'Net that will do such validation? Thanks, Glen ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] null call of document fun, Steve | Thread | Re: [xsl] template to validate date, Andrew Welch |
Re: [xsl] Removing namespaces witho, G. Ken Holman | Date | Re: [xsl] XSLT 2.0 contains questio, G. Ken Holman |
Month |