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

Re: Comparing dates/times within an XSL stylesheet.

Subject: Re: Comparing dates/times within an XSL stylesheet.
From: Steve Tinney <stinney@xxxxxxxxxxxxx>
Date: Wed, 05 Apr 2000 13:00:23 -0400
xslt comparing dates
> The only way I can think of to do this is by invoking a script from within
> the XSL.  Can JScript or JavaScript do this?  I've written JAVA programs
> aplenty but never JScript.
> I'd rather try and adhere to standard implementations and not be tied to
> anything Microsoft specific.

You can do this with Java, but not in any standardized way.  You would
need to consult the documentation for your processor for the details,
but the principle is that you associate a namespace prefix with a Java
class and then call the methods using that prefix (e.g., java:date('some
string')).  You may be able to do the comparison without writing any
Java at all; depends on how the stock API's meet your needs.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

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.