[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Return system's date and time

Subject: RE: Return system's date and time
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 18 May 2007 15:59:42 +0100
RE:  Return system's date and time
>   Speaking of format-date(), I've always wondered why this 
> was an XSLT function rather than an XPath function (and even 
> longer about format-number()).  Do you know why it was 
> decided that formating dates was XSLT-specific?

Partly perhaps some kind of theory that XPath (and in some people's view,
XQuery) shouldn't be concerned with presentation.

Partly the fact that format-number has a dependency on xsl:decimal-format,
which is XSLT-only (and early designs of format-date were similar)

Mainly practical politics. The XQuery WG were preoccupied with deeper
issues, the kind of thing you have to get right in version 1, and wanted to
keep the language small. The XSL WG, whose users are very much concerned
with presentation, needed the functionality, and had the time to develop it
while waiting for XQuery to be finished.

Michael Kay

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.