File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
Tests of addition in XPath 1.0
9 + 3 =
9 + 3.8 =
9 + '4' =
9 + 'Q' =
9 + true() =
9 + false() =
Output:
Tests of addition in XPath 1.0
9 + 3 = 12
9 + 3.8 = 12.8
9 + '4' = 13
9 + 'Q' = NaN
9 + true() = 10
9 + false() = 9