atom feed46 messages in com.mulberrytech.lists.xsl-list[xsl] current-dateTime()
FromSent OnAttachments
Andrew WelchApr 18, 2008 4:53 am 
David CarlisleApr 18, 2008 5:06 am 
John SnelsonApr 18, 2008 5:12 am 
Mukul GandhiApr 18, 2008 5:48 am 
Dimitre NovatchevApr 18, 2008 5:54 am 
Mukul GandhiApr 18, 2008 5:56 am 
Robert KobergApr 18, 2008 6:03 am 
Andrew WelchApr 18, 2008 6:05 am 
David CarlisleApr 18, 2008 6:19 am 
Colin Paul AdamsApr 18, 2008 6:35 am 
Michael LudwigApr 18, 2008 7:11 am 
Liam QuinApr 18, 2008 7:24 am 
Liam QuinApr 18, 2008 7:33 am 
Robert KobergApr 18, 2008 7:34 am 
Colin Paul AdamsApr 18, 2008 7:38 am 
Abel BraaksmaApr 18, 2008 7:38 am 
Colin Paul AdamsApr 18, 2008 7:45 am 
Michael LudwigApr 18, 2008 7:46 am 
Abel BraaksmaApr 18, 2008 7:47 am 
Andrew WelchApr 18, 2008 7:48 am 
Abel BraaksmaApr 18, 2008 7:50 am 
Abel BraaksmaApr 18, 2008 7:54 am 
Abel BraaksmaApr 18, 2008 7:56 am 
Dimitre NovatchevApr 18, 2008 7:57 am 
Abel BraaksmaApr 18, 2008 7:58 am 
Colin Paul AdamsApr 18, 2008 8:03 am 
Dimitre NovatchevApr 18, 2008 8:04 am 
Andrew WelchApr 18, 2008 8:07 am 
Dimitre NovatchevApr 18, 2008 8:16 am 
Andrew WelchApr 18, 2008 8:19 am 
Andrew WelchApr 18, 2008 8:38 am 
Michael LudwigApr 18, 2008 8:45 am 
Dimitre NovatchevApr 18, 2008 9:01 am 
Abel BraaksmaApr 18, 2008 9:29 am 
Robert KobergApr 18, 2008 2:20 pm 
Liam QuinApr 18, 2008 6:42 pm 
Liam QuinApr 18, 2008 6:44 pm 
Dimitre NovatchevApr 18, 2008 7:30 pm 
Michael KayApr 19, 2008 12:27 am 
Michael KayApr 19, 2008 12:37 am 
Mukul GandhiApr 19, 2008 12:38 am 
Michael KayApr 19, 2008 1:51 am 
Michael LudwigApr 19, 2008 2:20 am 
Andrew WelchApr 19, 2008 2:39 am 
Mukul GandhiApr 19, 2008 8:24 am 
Dimitre NovatchevApr 19, 2008 9:11 am 
Subject:[xsl] current-dateTime()
From:Andrew Welch (andr@gmail.com)
Date:Apr 18, 2008 4:53:43 am
List:com.mulberrytech.lists.xsl-list

What is the reasoning behind defining as current-dateTime() and current-time() as being "current at some time during the evaluation of a query or transformation"?

Saxon seems to follow the above and return the same value for each call to the function, even during transformations that can last several minutes (or hours or days).

It would be really useful if it returned the actual dateTime at the time of the call so you could implement a progress reporting feature in the transform - you could say how many records were processed in a given time and based on that suggest when the transform might finish.

The spec does say it's implementation dependent, so I wonder why it's fixed when people can do that themselves with a variable... if it returns the time when it's called then it opens up quite a few possibilities (especially where standalone transforms orchestrate the entire processing)