RE: [xsl] Can you group in XSL?

Subject: RE: [xsl] Can you group in XSL?
From: Rene de Vries <RdVries@xxxxxxxxxxx>
Date: Wed, 11 Jul 2001 08:41:55 +0200
Hi Doug,

Mike Kay answered to this question before:

Grouping isn't easy in XSLT 1.0 but you will find a full discussion of the
techniques at

More specific at

Greetings Rene
   { @   @ }

"You don't need eyes to see, you need vision!"

-----Oorspronkelijk bericht-----
Van:	Hewko, Doug [SMTP:Doug.Hewko@xxxxxxxxxxxxxxx]
Verzonden:	dinsdag 10 juli 2001 15:18
Aan:	'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Onderwerp:	[xsl] Can you group in XSL?


How could I group elements in XSL so a particular element is only displayed
once? I can retrieve all elements softed by category, but am not able to
surpress the repetitions.

For example, let's say I have the following XML and want the output to look
like this:

     Title....description for this item
     Another title...description

     Yet another title...Description

<?xml version="1.0" standalone="no"?> 
	<category>Category 1</category>
	<english_description>Description for this item.
	<category subcategory="Subcategory">Category 1</category>
	<english_title>Another title</english_title>
	<category>Category 2</category>
	<english_title>Yet Another title</english_title>

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread