Lars,

I guess you were searching for something like this...

<map:pipeline>
 <map:match pattern="foo/**">
  <map:mount uri-prefix="foo" src="file:///c:/foo/"/>
 </map:match>
</map:pipeline>

which, by the way, is contained in the Official Cocoon FAQ.

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Lars Trieloff [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 19, 2002 11:15 PM
> To: [EMAIL PROTECTED]
> Subject: Subsitemap in another directory
>
>
> Hello,
> is there a way to mount a subsitemap which is not in the cocoon directory?
> Imagine a directory structure such as following:
>
> webapps
> |myapp
> ||mycocoon
> |||docs
> |||styles
> |||mycocoon.xmap
> |cocoon
>
> Is it possible to mount this sitemap in a way like this:
> <map:mount
>        uri-prefix="myapp"
>        src="../myapp/mycocoon"
>        check-reload="yes"/>
>
> In my webapp I would like to include cocoon support without providing an
> own copy of cocoon or forcing the user to copy files into the cocoon
> directory structure.
>
> Lars Trieloff
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to