Michael Kay - 2011-01-20

When you are evaluating global variables in the stylesheet, the context item (.) is the node you specified as the initial context node, but "/" is the root of the tree containing the initial context node, which is the DOM Document node. If you want to select descendants of this node, use ".//col" rather than "//col".