> I'm trying to add one more context to my
> sitemap usinf this syntax:
>
> <map:match pattern="myown">
>     <map:generate src="docs/myown/index.xml"/>
>     <map:transform
> src="stylesheets/myown/default.html.xsl"/>
>     <map:serialize/>
> </map:match>

Cocoon matchers work somewhat different from what you may be used to from
Tomcat contexts and the like.
The matcher you wrote  matches the URI http://yourhost/cocoon/myown only.
(Enter this in your browser and you should get the index.xml page.

If you want the page to be accessible as
http://yourhost/cocoon/myown/index.xml, try this:

 <map:match pattern="myown/*">
     <map:generate src="docs/myown/{1}"/>
     <map:transform
 src="stylesheets/myown/default.html.xsl"/>
     <map:serialize/>
 </map:match>

HTH,
    Sven.....


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