[Top] [All Lists]

RE: [xsl] Getting unique items from elements

2006-11-14 10:26:44
The output as you would expect includes the category of 
"Children" twice. Is there a way in XSL to extract only the 
unique elements from <category>?

This problem is known as "grouping": you'll find it in the index of any XSLT
book under that name, or at http://www.jenitennison.com/xslt/grouping. It's
easy in XSLT 2.0 using <xsl:for-each-group>, but a little tricky in XSLT

Michael Kay

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>