There's nothing obviously wrong with your code (though it seems cumbersome). The most likely reason it fails is that the context node isn't the Col element. Note that mrame's suggestion assumes that the context node is the parent of the Col element.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|