cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject accessing request parameters in sitemap
Date Tue, 12 Feb 2002 17:47:46 GMT

Currently the sitemap has a syntax which allows referring to matching
portions of the URL. Is there a way to refer to request arguments,
headers or session related properties directly in the sitemap?
Something like this:

<map:match pattern="doc/**">
  <map:generate src="documents/{1}">
    <map:parameter name="type" value="{parameter(type)}"/>
    <map:parameter name="browser" value="{header(X-Browser)}"/>
  </map:generate>
  ...
</map:match>


Thanks,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message