cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rosenstrauch <dar...@dti.net>
Subject Re: Sitemap Substitution Vars
Date Mon, 19 Nov 2001 15:35:05 GMT
Yes.

<map:match pattern="faq/*/*.html">
<map:generate src="faq/{1}/{2}.xsp"/>   ...
</map:match>

Check here for more info:

http://xml.apache.org/cocoon2/userdocs/concepts/matchers_selectors.html



At 08:15 PM 11/18/01 -0600, you wrote:
>I know it is possible to have one substitution variable for a matched pattern
>as in the following:
>
><map:match pattern="faq/*">  <map:generate src="faq/{1}.xsp"/>   ...
></map:match>
>
>But, is it possible to have more than one, i.e., {1},{2},{3} ...
>
>Nothing I have tried works.
>
>Thanks in advance,
>Stan
>
>    
>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message