xsl-list
[Top] [All Lists]

Re: [xsl] Break functionality in XSL

2009-11-02 09:33:35
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[(_at_)NAME='XLATTABLE_EMPL_STATUS']/ROWS/ROW/COLUMN[(_at_)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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>