This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Grouping and filtering
- From: "Bernard Delporte" <bdelporte at epo dot org>
- To: "XSL-List at lists dot mulberrytech dot com" <XSL-List at lists dot mulberrytech dot com>
- Date: Wed, 03 Jul 2002 15:08:19 +0200 (MSZ)
- Subject: [xsl] Grouping and filtering
- Reply-to: xsl-list at lists dot mulberrytech dot com
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