Once a variable’s value is set, it cannot be changed. But you can number nodes using the
position() function, count nodes with the count() function, sum their values with the sum() function, average
them with the avg() function, and get their minimum or maximum with the min() or max() functions.

Powered by ScribeFire.