Hi,

First, thank you for a really nice tool.

I'm using velocity and anakia to automatically generate 
some files based on a xml description.

I've run into some different problems.

I'm using the programs in a little different way than the
examples, and that might be the source to all my problems.

I'm using a single xml file in combination with several
stylesheets (velocity templates) to generate about 6-8
different "final" files (e.g. 6-8 autogenerated files pr. xml file)
that all are different but based on the same data.

This can today only be acomplished by creating 6-8 links
and using the extension to decide which style (template) to
use. Has anyone done something like this before, and how
did they do it (e.g. is there a smarter way) ??

I've read the source code of the anakia task, and it would seem
quite easy to code something for my specific purpose, but
if someone has done it before and submitted it I would rather
work on that.


Also I've found out that it seem that the macro's spans over multiple
stylesheets (velocity templates). So if I have a macro in one
template the same name can not be used in another. I'm not
saying this is an error, but quite some time was invested before
i found out that the macro's seemed to have a global definition.


mvh,
Carsten Rhod Gregersen @ Logiva A/S
Email: [EMAIL PROTECTED],  Web: http://www.logiva.dk
Tlf. 70 211 360. Direkte 70211361


Reply via email to