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

Re: current-dateTime()

Subject: Re: current-dateTime()
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 18 Apr 2008 16:54:57 +0200
Re:  current-dateTime()
Colin Paul Adams wrote:
    Abel> There are obvious drawbacks and caveats to this solution,
    Abel> one being that the Net overhead is significant, the other

It need not be - if your URL starts with http://localhost/ .

Agreed, and in times where web services become increasingly more abundant (where any method can reside on any remote or local server) this may well be the way to go in the long run.
Or better still, is simply a custom URI resolver (for a custon URI
scheme e.g. mytime:?generated-id).

Not agreed ;)
Building a custom URI resolver, though trivial, is processor dependent and that does away with the original promise of my solution: making it processor neutral. And if you are about to write a URI resolver, it'll be just as easy to write a basic extension function that takes one argument (the random string) and returns the current date time.


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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-2011 All Rights Reserved.