Re: [xsl] Grouping and filtering contdd

Subject: Re: [xsl] Grouping and filtering contdd
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Wed, 03 Jul 2002 14:03:23 +0000
Continuing my previous mail,
The parameter( filter ) can be passed through commandline or through API ( which is obvious.. but thot i shud mention this for the entirity of solution :) )
Vasu


From: "Bernard Delporte" <bdelporte@xxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: "XSL-List@xxxxxxxxxxxxxxxxxxxxxx" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] Grouping and filtering
Date: Wed, 03 Jul 2002 15:08:19 +0200 (MSZ)

Hello,

Trying to use the Muenchian method on a very specific case, I was not able
to figure out how to do it. Here is a simplified version of the XML I use:

<groups>
  <group name="GR1">
    <item>any</item>
    <item>test</item>
    <item>tests</item>
    <item>zz</item>
  </group>
  <group name="GR2">
    <item>any</item>
    <item>tests</item>
    <item>value</item>
  </group>
</groups>

What I want to produce as output is as follows:

I want to list all the groups containing the item:
1. for all single items
any	GR1, GR2
test	GR1
tests	GR1, GR2
value	GR2
zz	GR1

2. for items responding to a certain filtering criteria like starting by
for instance 'te'
test	GR1
tests	GR1, GR2

Any idea ?

Thanks in advance

Bernard




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






_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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



Current Thread