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

Re: RE: Problem with date:add

Subject: Re: RE: Problem with date:add
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 17 Feb 2006 11:47:11 GMT
Re:  RE: Problem with date:add
>   The link just shows the XSL file used to get that output. The XML is
>   returned from a database query, but for that page it's just
>   
>   <root CurrentDateTime="2006-02-17T10:17:00">
>   	<nothing />
>   </root>


on that input with the referenced stylesheet, saxon gives


$ saxon date.xml date-add.xsl 
<p>2006-03-19T10:17:00</p>


so it looks perhaps like an msxml4 problem?

An alternative would be to use exslt for msxml4 which would have date
arithmetic built in as extrenal functions rather than using teh template
versions. 
http://www.xml.com/pub/a/2003/08/06/exslt.html

Not tried that though.

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.