xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] RE: Problem with date:add


Subject: Re: [xsl] RE: Problem with date:add
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 17 Feb 2006 11:47:11 GMT

>   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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor