Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - count usage in XSLT. [Thread Next] Re: count usage in XSLT.To: NULL Date: 9/9/2006 2:36:00 PM jim wrote: > Shoud we have any method to count the node<test> which only have some value > in its sub node. For above exampe, the count of <test> should return 1. It > just count first <test> node because its sub node have some data inside such > as 33, 22. And don't count second <test> ndoe because its sub node have empty > value. Try count(//test[*/text()[normalize-space() != '']]) -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
