Hola Thorsten! > > Another approach would be to use the transformer configure and use a > language interpreter to generate a Properties object. That works since > we can now inject object and not only strings. Like: > > <map:transform xmlns:map="http://apache.org/cocoon/sitemap" > type="variableExpanderTransformer"> > <map:parameter name="text"properties value="{properties:something}"/> > </map:transform> > > This would allow to use other props beside the "env". > > wdyt?
I really like this approach!!! We could even support loading properties files, URLs, ... great! Thanks for your feedback! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/