cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arje Cahn" <>
Subject Re: MapTransformer
Date Thu, 02 Oct 2003 17:15:16 GMT
> 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*

You fill the map like this:

<map type="sorted-set">

Transforming the following document:

	Just some random text containing important information about a <key>car</key>.
	You could of course ride a <key>bike<key> as well.

Then results in:


Which can be used to generate a 'related' items list.
It's really basic. No topic maps, but we might grow into that. Ideas?


Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173 
Fax +31 (0)20 6345179
------------------------------------------------------------- /

View raw message