Conal:
> virtually no actual content (warning: it's very slow).
Actually, that's on of the problems Rogier and I wanted to tackle. We needed a
transformer that simply lists all documents sharing the same <keyword> tags as the
current one. We implemented a very generic MapTransformer which uses the
java.util.Map, and it's *extremely* fast.
You fill the map like this:
<map type="sorted-set">
<item>
<key>car</key>
<value>/content/1998/08/Auto_afzet_groeit.xml</value>
</item>
<item>
<key>bike</key>
<value>/content/1999/01/36_Maanden_Lakgarantie_.xml</value>
</item>
</map>
Transforming the following document:
<content>
Just some random text containing important information about a <key>car</key>.
You could of course ride a <key>bike<key> as well.
</content>
Then results in:
<related>
<item>
<value>/content/1998/08/Auto_afzet_groeit.xml</value>
<value>/content/1999/01/36_Maanden_Lakgarantie_.xml</value>
</item>
</related>
Which can be used to generate a 'related' items list.
It's really basic. No topic maps, but we might grow into that. Ideas?
Regards,
Arj�
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel +31 (0)20 6345173
Fax +31 (0)20 6345179
-------------------------------------------------------------
[EMAIL PROTECTED] / www.hippo.nl
--------------------------------------------------------------