> From: icewind [mailto:[EMAIL PROTECTED]] 
> 
> I looked at the threads, and in my sitemap, and
> figured that defining something like: 
> 
> <map:global-parameters>
>    <map:global-parameter name="doc-base"
> value="/home/icewind0/cocoon-files"/>
> </map:global-parameters>
> 
> 
> I can't figure out how to use it in a pipeline. How do
> I reference doc-base in one of my pipelines?
> 
> I'm tried:
> 
> <map:generate type="directory" src="$doc-base/docs">
> [...]
> </map:generate>
> 
> and
> 
> <map:generate type="directory" src="{doc-base}/docs">
> [...]
> </map:generate>
> 
> 
> Neither works. Any suggestions? Is
> map:global-parameters documented somewhere?

Try {/doc-base}.

AFAK, this not documented and, more over, it can be removed in favour of
InputModules. Don't forget that C2.1 is in alpha stage still.

Konstantin

> 
> 
> 
> 
> 
> --- Vadim Gritsenko <[EMAIL PROTECTED]>
> wrote:
> > Read on:
> > 
> >
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=glo
bal+parame
> ters&q=b
> 
> about input modules and other options.
> 
> Vadim


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

---------------------------------------------------------------------
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]>

---------------------------------------------------------------------
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]>

Reply via email to