Hi,
I am using .NET 2.0 XslCompiledTransform
As I understand if the second parameter of the xslt key() function is a node-set then key function returns union of results applying key functions to each node within the nodeset.
So how could it happend that the following expression returns nothing (empty node set)
<
xsl:copy-of select="key('Loops', $standardMapContext/xs
And the following expression returns expected result
<
xsl:copy-of select="key('Loops', $standardMapContext/xs
The second expression goes right after the first one in my stylesheet.
What I mean that the $standardMapContext/xsequence/xs:element/@type nodeset does contain an element with @type='L_3' but when I provide the entire nodeset to key() function it returns nothing. And when I manually filter out extra nodes it return as expected.
What is wrong with my understanding of the key() function
Thanks,
Shurik.