Peter Carberry schrieb am 16.04.2009 um 15:03:03 (+0100): > Hi Michael, > > I'm not using any of the conversion functions, just creating a > standard XPath object and calling its execute method. I know from > debugging that the XObject returned is a nodeset, in the case of every > call after the first however it is empty. > > It seems as if whatever way I'm using XPath it's only allowing me to > resolve the variable the first time. If I replace all instances of the > variable in the stylesheet with the key statement that generates it > (ie switching "key('myKeyResolvesToBlah', 'blah')" for "$blahVar") > then the XPath queries all resolve OK. There's something that > <xsl:value-of select="" /> is doing that I am not, but I don't know > what it is.
Hi Peter, maybe the best way to solve this is to post a small, self-contained example that exposes the problem, so others can reproduce it or debug it in their environments. Best, Michael