Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: XML XPath >Thread Next - Re: XML XPath Re: XML XPathTo: NULL Date: 8/3/2005 5:43:00 PM Hi, ">So what do u think a count of the number of detail lines mean" good question. I don't know. Sounds like your requirements are not entirely clear. For counting all "xxxxxDetail" nodes you could do <xsl:value-of select="count(POD/CustomerDetails | POD/CompanyDetails | POD/DeliveryDetails) /"> Hope this helps, Marvin Smit. ps: Are you counting nodes, or summing to values in certain nodes? On Wed, 03 Aug 2005 08:19:13 -0700, Adam Vaughan <pornos18@h...> wrote: > > >Thx thats great, > >Still one problem, the word 'details' > >Is that a specific code word used generally or..? > > >Ok i have tried inputting this line, as it stands it appears in red, > > <xsl:value-of select="sum(POD/Details)" /> > >so i cut it down to this -- sum(POD/Details) >this is correct coding but the output i get is Number 0 > >the tree goes POD/CustomerDetails > POD/CompanyDetails > POD/DeliveryDetails > >with address and contact info coming after that. > >So what do u think a count of the number of detail lines mean > >*** Sent via Developersdex http://www.developersdex.com *** | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
