|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing dates/times within an XSL stylesheet.
> 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.
Steve
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








