Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

how to count nodes

$
0
0

hi,

I'd like to know the number of nodes for a key I have defined.  Im not getting the correct output, so I thought I could count the nodes something like this:

<xsl:value-ofselect="count(key('groups',Groupnum))"/>

But, I get all zeroes.  Is this the correct syntax?  

This is the key I defined :

<xsl:key name="groups" match="Row" use="Groupnum"/>  <!-- key value -->

Thank you


mhoran


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>