You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stan Hughes <co...@hwm-usa.com> on 2001/11/19 03:15:56 UTC
Sitemap Substitution Vars
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Sitemap Substitution Vars
Posted by David Rosenstrauch <da...@dti.net>.
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: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Sitemap Substitution Vars
Posted by giacomo <gi...@apache.org>.
On Sun, 18 Nov 2001, Stan Hughes 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.
Look into the sample sitemaps. There a lots of them.
Giacomo
>
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>