File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
Tests of XPath subtraction in XPath 1.0
9 - 3 =
9 - 3.8 =
9 - '4' =
9 - 'Q' =
9 - true() =
9 - false() =
Output:
Tests of XPath subtraction in XPath 1.0
9 - 3 = 6
9 - 3.8 = 5.2
9 - '4' = 5
9 - 'Q' = NaN
9 - true() = 8
9 - false() = 9