cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Maukisch <coc...@maukisch.net>
Subject Re: sitemap variables
Date Fri, 19 Nov 2004 20:54:21 GMT
Hi,


> So instead of this:

>    <map:generate
> type="file"src="/mnt/w2kshare/internal/techlib/sitemap.xml"/>

> I would like to have this:

>    <map:generate type="file"src="{mymountpoint}/sitemap.xml"/>
>   

Maybe you are searching for the GlobalInputModule: http://wiki.apache.org/cocoon/InputModules

 <map:pipelines>

  <map:component-configurations>
    <global-variables>
      <foo>bar</foo>
    </global-variables>
  </map:component-configurations>

  <map:pipeline>
    <map:match pattern="foobar">
      <map:generate src="{global:foo}/my.xml"/>
      ....

hth


-- 
* best regards
* Jens Maukisch              


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


Mime
View raw message