Re: [xslt] Problem with date:seconds



On Thu, Nov 28, 2002 at 02:32:48AM +0100, Bernhard Zwischenbrugger wrote:
> 
> > Having said that, I must also say that I believe
> > that the specification for 
> > date:difference is wrong. 
> > 
> 
> So, what to do now?
> Avoid this function?

  Check with the people maintaining the EXSLT specs, and if needed request
another function to be added. Alternatively you can just check whether the
returned value is negative and invert it in your XSLT stylesheet.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]