[Home] [By Thread] [By Date] [Recent Entries]
Michele R Combs wrote:
I didn't write this line of code -- it's in a style sheet I'm attempting to comprehend -- so I don't want to change anything until I understand what it's doing. But more to the point, it actually is working 99% of the time. There's just one single case where it's counting something as unique when it shouldn't and I have no idea why,, which is why I'm trying to understand precisely what it is selecting and how. The line I cited: A variable gets one value and that value never changes, even if the variable is used in different locations. If the xsl:variable element is a child of the xsl:stylesheet element then it is a global variable and then I think a relative path is evaluated relative to the initial context node which is usually the root node (also called document node). I don't see why you would get different results with the same variable used in different places unless there is local parameter or variable of the same name hiding the global one. -- Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
|

Cart



