You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by mi...@telia.fi on 2001/01/19 09:08:01 UTC

[C2] Sitemap pattern matching

My match pattern should accept a parameter e.g.  "newsheaders.html?article=1000"


The parameter should then be included in the generate source.

So the generate src should expanded to
"http://somewhere.com/cgi-bin/test?article=1000"

I tried it like this, but it didn't work. Any suggestions?


 <map:match pattern="newsheaders.html">
    <map:generate src="http://somewhere.com/cgi-bin/test{1}>
    <map:transform src="stylesheets/teliamobile/mtv3/newsheaders.html.xsl"/>
    <map:serialize/>
   </map:match>