cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel Honfi" <e9626...@student.tuwien.ac.at>
Subject RE: Redirect on sitemap with parameters
Date Fri, 29 Mar 2002 14:07:38 GMT
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:yuryx@mobicomk.donpac.ru]
Sent: Friday, March 29, 2002 11:26 AM
To: cocoon-users@xml.apache.org
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message