> > From: Moritz Petersen [mailto:[EMAIL PROTECTED]] > > > > > > From: Moritz Petersen [mailto:[EMAIL PROTECTED]] > > > > > > > > hello cocoon-users! > > > > > > > > i use cocoon for rendering dynamic images, which are diagrams. i > have > > > to > > > > link to the diagram items, wich are dynamically positioned. > > > > is there an elegant way to create a html <map> with cocoon? > > > > > > What's the issue? > > > > > > PS I do not use maps, but I guess it is simple HTML/XML or text. > > > > the point is that i don't know if i can create the map in the same > step as > > the image - or better: the other way. i have to include the map in the > html > > text and generate the image on the fly... > > Is it necessary to generate map and the image at the same time? If yes, > take a look at welcome-svg sample and how images are being generated > ("extractor" transformer/generator pair). If no, just have two pipelines > - one for image, one for map.
thank you for your help! it is neccessary in that case, that the computing of the diagram is very time intensive; it would be nice to do it with one step. at this point, the question is about caching in cocoon... i could (maybe have to) write my own caching algorithm in the computing class. but it would be more elegant to do it with cocoon. is there a way? my plan is, to write a generator class, which fetches a lot of values from a database, makes complex calculations and returns the xml code... -moritz. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>