xsl-list
[Top] [All Lists]

RE: limiting a apply-template

2003-03-17 01:55:36
Normally the url attribute in the XML will be unique, but not 
always.  When it is not unique, I only want to process the 
first node it finds.  How do I do that?

Elimination of duplicates is just a special case of the grouping
problem, so look up the standard techniques for grouping, e.g. at
www.jenitennison.com/xslt/grouping

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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