I don't know if this works, give it a try!
But what this works with me:
<map:match pattern="">
<map:redirect-to uri="sample/myvalue">
</map:match>
<map.match pattern="sample/*">
<map:generate src="docs/sample.xml"/>
<map:transform src="stylesheets/{1}.xsl"/>
<map:serialize/>
</map:match>
or
<map:redirect-to uri="sample?style=sample"/>
and the request-action.
I don't know what you want to do with this, but maybe I helped
Axel
-----Original Message-----
From: yuryx [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 11:26 AM
To: [EMAIL PROTECTED]
Subject: Redirect on sitemap with parameters
Hello All!
Can I have redirect in sitemap like:
<map:match="">
<map:redirect-to uri="sample">
<map:parameter name="style" value="sample"/>
</map:redirect-to>
</map:match>
<map:match="sample">
<map:generate src="docs/sample.xml"/>
<map:transform src="stylesheets/{style}.xsl"/>
<map:serialize/>
</map:match>
it possible?
Thanx.
Yury.
---------------------------------------------------------------------
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]>