cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mika.bor...@telia.fi
Subject [C2] Sitemap pattern matching
Date Fri, 19 Jan 2001 08:08:01 GMT

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>




Mime
View raw message