Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Break functionality in XSL >Thread Next - Re: [xsl] Break functionality in XSL Re: [xsl] Break functionality in XSLTo: xsl-list@-----.------------.--- Date: 11/2/2009 2:33:00 PM 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. Thanks, Anil > > There is no xsl:break and xsl:for-each is not a loop. You might simply > want to put your condition into a predicate in the select attribute e.g. > > <xsl:for-each > select="TABLE[@NAME='XLATTABLE_EMPL_STATUS']/ROWS/ROW/COLUMN[@NAME='STATUS'][. > = 'A']"> > > --~------------------------------------------------------------------ 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 | |||
|
