Nic Miloslav Example 40 ^{***} |
---|

In Stylesheet 1 strings are arguments of boolean() function. A string is true if and only if its length is non-zero. In Stylesheet 2 is text transformed into numbers and then subjected to boolean() function. Stylesheet 3 compares "0" as a string and as a number.Stylesheet 4 uses node-sets as arguments for boolean() function. |