[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: date calculations
If you had a schema that defined the data types of your elements, it would be even simpler: StartTime + Duration Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Geert Bormans [mailto:geert@xxxxxxxxxxxxxxxxxxx] > Sent: 24 March 2007 09:03 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: date calculations > > So it is that simple...( makes me feel a bit stupid now :-) > It works great, thanks for your help > > cheers > geert > > > >You can use: > >xs:dateTime(StartTime) + xs:dayTimeDuration(Duration) > > > >Where prefix "xs" is bound to URI: http://www.w3.org/2001/XMLSchema > > > >(This works with Saxon 8.9J)
|
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
|