Mega Code Archive
Multiplication with date value
File: Data.xml
File: Transform.xslt
More tests of multiplication in XPath 2.0:
A xs:yearMonthDuration multiplied
by a number:
A xs:dayTimeDuration multiplied
by a number:
Output:
More tests of multiplication in XPath 2.0:
A xs:yearMonthDuration multiplied by a number:
P1Y8M * 3 = P5Y
A xs:dayTimeDuration multiplied by a number:
P24DT8H * 10.5 = P255DT12H