This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Grouping and filtering


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]