You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by qMax <qm...@mediasoft.ru> on 2004/08/03 13:53:01 UTC
forming new url with a parameter set
Hi.
How it would be better to perform following task:
for given url (requestedURI) i need to form new url with single
parameter added or changed, and all other left untouched.
Egg:
http://mysite/foo/bar/stuff.html?view=printfriendly&lang=ru&slang=foo&mode=detailed
and i want to form new URL:
http://mysite/foo/bar/stuff.html?view=printfriendly&lang=ru&slang=foo&mode=brief
but actually - i need several urls with all possible values of "mode"
parameter.
Currently, i do it in 184-lined XSLT stylesheet, but all possible parameters
should be hardcoded into this XSLT.
Any better solutions ?
--
qMax
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org