From: Abel Braaksma <abel(_dot_)online(_at_)xs4all(_dot_)nl>
Rashmi Rubdi wrote:
I have to read up on how to note the time in XSLT 2.0, will use Google for
that.
You can't (unless you do a three-step process where you call the XSLT
processor three times). The reason is simple: all date/time functions are
stable and will return the same date/time at any moment in the process and
you can't be sure whether that's the time at the beginning of the process
or at the end.
It ought to be possible with an extension function, for an implementation
where you have tested that the execution order is predictable for a given
transformation.
The best way to time XSLT is to call it from another system (i.e., Java)
and measure the time before/after.
Restricting this idea to Java seems perverse, and certainly wrong as the
UNIX time command will work perfectly well.
_________________________________________________________________
MSN Hotmail is evolving - check out the new Windows Live Hotmail
http://get.live.com/betas/mail_betas
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--