Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - How to select particular items from repeating 'generic' attributes? [Thread Next] Re: How to select particular items from repeating 'generic' attributes?To: NULL Date: 2/6/2006 1:49:00 PM 42 wrote: > <record> > <data>Bob</data> > <data>Smith</data> > ... > </record> > I've figured out how to use foreach to iterate over the person records, > but can't see how to select the nth occurence of <data> within each > record. If a record element is your context node then simply accessing data[1] selects the first data child element data[2] the second and so on. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
