File: Data.xml
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
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