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

RE: GMT to BST converter

Subject: RE: GMT to BST converter
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 15 Apr 2005 13:04:38 +0100
convert bst to gmt
Before you can convert the date/time you have to parse it. EXSLT has a
date:parse-date() function but it's not widely implemented. I think I would
escape out to an extension function for this one.

XSLT 2.0, for once, doesn't help you here, at least not directly.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: tom tom [mailto:tomxsllist@xxxxxxxxxxx] 
> Sent: 15 April 2005 12:21
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  GMT to BST converter
> 
> I need to write a template in XSLT 1 that converts a GMT 
> feed, for example:
> 
> <Date>Tuesday, 18 February, 2003, 15:21 GMT</Date>
> 
> to British summer time. I don't want to have to update it 
> every 6 months! 
> Has anyone done this before?
> 
> Thanks
> 
> Tom
> 
> _________________________________________________________________
> Want to block unwanted pop-ups? Download the free MSN Toolbar now!  
> http://toolbar.msn.co.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.