Phil,
I don't know if this is what you're looking for but the request action exposes these
three attributes:
{context} servlet's context path
{requestURI} the request URI without parameters
{requestQuery} the query string, "?name=value&name2=value2..."
Additionally, if you give the parameter "parameters" with a value of "true", you get
ALL of the request paramters. Example:
<map:match pattern="*">
<map:act type="request">
<map:parameter name="parameters" value="true"/>
<!-- Now do what you want with the parameters... -->
<map:generate src="{my_page_name}"/>
</map:act>
</map:match>
I recommend you get a copy of "Cocoon: Building XML Applications". That's basically
what you can use to look up all of these types of details in short order with good
explanations.
/S
[EMAIL PROTECTED] wrote:
>Can anyone provide a working sample of accessing any request attributes in the
>sitemap?
>
>Thanks,
>Phil
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
--
Steven Cummings
Columbia, MO
Email: [EMAIL PROTECTED]
AIM: cummingscs
ICQ: 3330114
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>