[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Using Foreach with Attribute values


Subject: RE: [xsl] Using Foreach with Attribute values
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 10 Dec 2003 14:11:22 +0200

Hi,

> As you can see there are 2 products of type "Cat 2", now what I am
> attempting to achieve is to create a PDF (using Apache FOP) with 3
> tables (one for each category) and within each table put the 
> values that
> have that category.  So something like this:
> 
> Cat 1
> valA valB
> 
> Cat 2
> valC valD
> valG valH
> 
> Cat 3
> valE valF
> 
> I have managed to do simple foreach, but I can't seem to find a way of
> doing this using the "category" attribute to group items.

Take one of these <http://www.jenitennison.com/xslt/grouping/> and come back in the morning with your stylesheet if the problem persists.

Cheers,

Jarno - Imminent Starvation: Tentack One

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



Current Thread