Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Error in XPath Expression >Thread Next - Re: Error in XPath Expression Re: Error in XPath ExpressionTo: NULL Date: 11/2/2005 5:05:00 PM xslspy wrote:
> This is the Key used to get the Grouping effect (group by sAssignedUser)
>
> <xslt:key name="NewDataSet" match="Table" use="sAssignedUser"/>
>
> And the below statement is used to get the group count..
>
> <xslt:variable name="values" select="key('NewDataSet',sAssignedUser)"/>
Again - this won't work if you use it as child of xsl:stylesheet. It
must be placed in a context where Table is context node.
--
Oleg Tkachenko [XML MVP, MCAD]
http://www.XmlLab.Net | http://www.XLinq.Net | http://blog.tkachenko.com
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
