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

Re: How to get UTC displayed on XSLT

Subject: Re: How to get UTC displayed on XSLT
From: JBryant@xxxxxxxxx
Date: Wed, 24 Aug 2005 11:09:04 -0500
xslt utc date
Well, all such decisions are up to individuals and companies. A person 
with a good grasp of the intricacies of XSLT 1.0 and a company with a 
large amount of XSLT 1.0 code might be very reluctant to move to XSLT 2.0, 
and I wouldn't blame them.

Just my $.02.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




Mukul Gandhi <gandhi.mukul@xxxxxxxxx> 
08/24/2005 10:43 AM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc

Subject
Re:  How to get UTC displayed on XSLT






I think its time we XSLT programmers should start thinking switching
to XSLT 2.0. Apart from the availability of this feature as David
pointed, XPath 2.0 has a huge function library (as compared to XPath
1.0). The spec is also now pretty stable, so there is quite less risk
of the language features getting changed.

I particularly like integration of the language with XML Schema type
system, xsl:function support, grouping constructs, regular
expressions, and of course availablity of large numbers of new
built-in functions. All these new features enhance the productivity of
a XSLT programmer.

Regards,
Mukul

On 8/24/05, Meena Nanjundeswar <meenasargur@xxxxxxxxx> wrote:
> Hi:
> 
> Thanks for all your effort. But I am using xslt 1.0. I tried using
> java.util.date and printed the result using this statement
> <xsl:value-of select="Date:toString(Date:new())"/>. Now this gives me
> only the current time zone. I know there is a method in java.util.date
> to get the UTC time. I think that should work right.
> 
> 
> 
> On 8/24/05, David Carlisle <davidc@xxxxxxxxx> wrote:
> >
> >
> > >                       version="2.0">
> >
> > since this is a version 2 stylesheet why not use xpath2's in-built
> > date/time arithmetic?
> >
> > David
> >
> > 
________________________________________________________________________
> > This e-mail has been scanned for all viruses by Star. The
> > service is powered by MessageLabs. For more information on a proactive
> > anti-virus service working around the clock, around the globe, visit:
> > http://www.star.net.uk

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-2013 All Rights Reserved.