Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Break functionality in XSL >Thread Next - [xsl] Break functionality in XSL Re: [xsl] Break functionality in XSLTo: xsl-list@-----.------------.--- Date: 11/2/2009 2:38:00 PM Anil Kumar Veeramalli wrote: > in my xml file, I have some duplicate records, so I want to consider > only first records. other duplicate records simply want to ignore. That > is the reason I need break functionality. Then use Muenchian grouping, that way you can process only the first item of each group of items with the same key value: http://www.jenitennison.com/xslt/grouping/muenchian.xml If you need more concrete help then show us a sample of the XML input you have and the corresponding transformation result you want to create, then we can show you an XSLT way of doing that, without talking about loops or breaking out of loops. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/ --~------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@l...> --~-- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
