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/7/2005 11:40:00 AM I tried the following code and now its working fine.... sum($values/startValue/text()) but why without text() its not working? actually some of the nodes are empty.. like <startValue/> and if i remove text() its counting those empty values as 1 and adding and if include that then its omiting the empty nodes.. Is it correct? "Oleg Tkachenko [MVP]" wrote: > xslspy wrote: > > I tried that but its also returning the same value as before , when i counted > > in XML the total "<startValue>1</startValue>" are 59 , it seems grand total > > is correct , some problem with group total(the Group Totals are > > 2,3,1,2,0,2,0,0,16,1,29 and if add all these numbers its coming around 56), > > is my grouping logic correct? > > Seems to be correct. Make sure you've got matching Table2 for each Table. > > -- > 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 | |||
|
