[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: "Andrew Smith" <andrew.smith@xxxxxxxxxxxxx>
Date: Fri, 17 Feb 2006 12:30:39 -0000
xml date add
This is what I'm beginning to think as well. I've tried googling for
different things about people having problems with it but I can't find
anything that helps.

That page you linked to didn't seem to mention the date: functions
though so I'm not sure if that would help. I'm not too sure it'd be
allowed to be installed.

Thanks for your help, but I'm beginning to think this is going to be
filed under 'Postponed Indefinitely' and just use a simple manually
maintained tag to keep track of it.

Thanks again,
Andy
-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: 17 February 2006 11:47
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: 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.