cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diana Shannon <shan...@apache.org>
Subject Re: cocoon xternal parametrization
Date Mon, 01 Jul 2002 13:34:44 GMT

On Monday, July 1, 2002, at 06:16  AM, KOZLOV Roman wrote:

> Problem is : there is external (to cocoon application) storage of xml
> and non-xml data located in same filesystem. Currently it's referenced
> in sitemap by
> specifying relative path (from sitemap.xmap file to storage) and the
> references are quite numerous. So it is not flexible in case the storage
> location
> changes.
> The final goal is to customize application settings without interfering
> the sitemap.xmap file, changing one line in some other file
> (xml/property/any
> other). So, is there a way to specify parameter to sitemap externally to
> use it like {1} or {STORAGE_PATH}etc. Via properties of cocoon , via
> sitemap/xconf
> file details?

Can you set these parameters as filter tokens in ANT and include them 
(via filtering="on") into your files within a build target? This isn't 
dynamic, of course, but it's quite useful. If so, check out the 
build.xml file for examples.

Diana



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message