|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Summing Time Durations Help
>>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:
Michael> Colin, you're right, on the assumption that there's no
Michael> schema and that the transformation isn't schema-aware.
I meant to add that bit (leaving you to say what follows, since I
wasn't quite sure of the syntax, never having used schema-aware), but
by the time I'd added all the rest of the message, I forgot.
Michael> there's a schema that describes these elements as being
Michael> of type xdt:dayTimeDuration, and if you use a
Michael> schema-aware processor, then you can just sum them
Michael> directly: sum(tduration).
Incidentally, I assume to get the example I posted to work with saxon,
changing 2005 to 2004/04 in the namespace will do the trick?
--
Colin Adams
Preston Lancashire
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








