Hi,

I'm trying to get a parameter passed from the sitemap to the XSP page I'm
writing.
The purpose is to have the following kind of stuff in the sitemap:

  <map:match pattern="record/*">
    <map:generate type="serverpages" src="record.xsp">
      <map:parameter name="record/id" value="{../1}"/>
    </map:generate>
  </map:match>

(the <map:parameter> is my own guess about how to pass the param to the
generator... :o)

And use the "record/id" parameter in my XSP (how?).
I guess it's real common stuff, but can't find any example or hint...

Thanks,

                        Pascal.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to