cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Dulin <dul...@olegdulin.com>
Subject Refering to parts of the URI using a matcher
Date Thu, 23 Oct 2003 13:48:20 GMT
Dear Distinguished Colleagues:

I need to do the following:

Given URIs like these:

/foo/bar/baz/bom/bim.xml/some/other/stuff
/foo/bar/blah/boom.xml/some/other/stuff

I need to write a match like this:

<map:match pattern="/foo/**/*.xml/some/other/stuff">

and then refer to the parts of the "**" and "*.xml" parts of the match 
using "{1}" and "{2}.xml" respectively.

Is it possible? How?

Regards,
Oleg


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


Mime
View raw message