John Bresnik wrote:
Then in your sitemap, you can use {request-param:foo} or

{request-param:bar} to get the values for


foo and bar as you previously described.


hey thanks for the help, i appreciate it - one more thing, could elaborate
on the preceeding example?

is this the correct sitemap syntax?

      <map:match pattern="test.pdf">
         <map:request-parameter name="foo" value="{request-param:foo}"/>
         <map:request-parameter name="bar"    value="{request-param:bar}"/>
         <map:generate type="file"
src="cocoon:/test.xml?foo={foo}&amp;bar={bar}"/>
         <map:transform type="xslt-saxon" src="test.xsl"/>
         <map:serialize type="fo2pdf"/>
      </map:match>



Nope., you use it directly inside the map:generate tag:

<map:match pattern="test.pdf">
<map:generate type="file" src="cocoon:/test.xml?foo={request-param:foo}&amp;bar={request-param:bar}"/>
<map:transform .../>
<map:serialize .../>
</map:match>




Tony


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to