[exslt] Questions about date:parse-date(), date:format-date() and date:date-format
by Allan Zhang76 other posts by this author
Aug 9 2006 12:33AM messages near this date
[exslt] Re: regexp:test() not working
|
[exslt] Re: Questions about date:parse-date(), date:format-date() and date:date-format
& XSLT Hi,
I am new to EXSLT. Now I am planning to implement the "dates and times" in EXSLT.
When I read the specifications for date:format-date() and date:parse-date(), I am a little c
onfused.
They look somewhat redundant to me. If I implement the date:format-date(), it seems to cover
what date:parse-date() can do.
For example: date:format-date("2005-06-03", "yyyy") is the same as date:parse-date("2005-06-
03", "yyyy"). Am I right?
Currently, is there any xslt processor to support date:parse-date()? I saw the reference imp
lementation by Chris Bayes (http://www.exslt.org/date/functions/parse-date/date.msxsl.xsl).
However, the implementation is different with specification. In specification it has 2 argum
ents. In Bayes's implementation, there are 3 arguments. What did cause the difference?
Another question is about date:date-format element. Is there any sample or any reference imp
lement for it? It's hard to understand it for me only from specification on exslt.org. -Than
ks
Allan
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
Thread:
Allan Zhang76
A. Pagaltzis
|