Mukul Gandhi <gandhi.mukul <at> gmail.com> writes: > > It seems, there's not a function datetime:date-time(arg) in EXSLT. I'm > just curious, what do you want this function to do with the argument? > >
You are correct. I was misinterpreting the documentation. What I want is to take a time that appears in my XML file, add an hour to it, then round it to the next hour. So for example: 2010-06-06T03:45:00 and 2010-06-06T03:22:43 would both give 2010-06-06T05:00:00 as results. So I think I have to do a combination of parse-date and date:add to make it work. I'll be trying it out later today. If there is a better appeoach, I'm all eyes. :) Thanks, L