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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>