The general technique with Cocoon is to use a matcher to pick up on the URI,
and to use wildcards in the matcher to
pick up on a range of URIs.
You can use the {0} sitemap parameter to access the entire
URI, and use {1} {2} etc to access the wildcard portions.
Are you sure you need/want to hand over this matching to
an XSLT stylesheet?
Regards,
Peter
P.S. I can't test the hyphen problem right now unfortunately.
The Input module RequestURI is new to me also, however
I have always used the
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/in
put/RequestParameterModule.html
module, which allows access to the request parameters specifically.
-----Original Message-----
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 4:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Pass sitemap params to "xslt" transformer?
>From: Tony Collen <[EMAIL PROTECTED]>
>
>Sonny Sukumar wrote:
>
>&snip;
>
>>Hmm, did you mean {request:requestURI} ? I did a quick Google search and
>>that's all I found. I know some of these input modules were renamed
>>within the past few months.
>
>Well, I was specifically looking at this:
>
>http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/i
nput/RequestURIModule.html
>
Interesting....it's not defined in my cocoon.xconf file, and I just upgraded
to Cocoon 2.1.2 a couple of days ago when it came out. I know I excluded
unstable blocks, etc....is it considered unstable?
>
>Tony
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
_________________________________________________________________
Help protect your PC. Get a FREE computer virus scan online from McAfee.
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]