Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: How to choose the first nonempty element How to choose the first nonempty elementTo: NULL Date: 4/2/2008 8:29:00 AM Hi If I have an xml data such as the following: <csv> <line> <field></field> </line> <line> <field></field> </line> <line> <field>2</field> </line> <line> <field>3</field> </line> </csv> I need to go though all <line> elements and get the first NON-Empty <field> in the example above, it should print 2 it is like using for-each and break with the first non-empty field I need the solution in xsl 2.0 thanks in advance Mahmoud | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
