[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Grouping and filtering

Subject: Grouping and filtering
From: "Bernard Delporte" <bdelporte@xxxxxxx>
Date: Wed, 03 Jul 2002 15:08:19 +0200 (MSZ)
bernard delporte
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.