Hi!
I am new to cocoon.

In the sitemap I have the following example:

<map:match pattern="*/*/*/">
  <map:generate type="directory" src="{1}/{2}/articles/{3}"/>
  <map:transform src="test.xsl">
    <map:paramter name="channel" value="{1}"/>
    <map:paramter name="section" value="{2}"/>
    <map:paramter name="year" value="{3}"/> 
  </map:transform>
  <map:serialize type="html"/>
</map:match>


In my stylesheet (test.xsl), want to use the parameter "channel", "section", 
"year".

After a global declaration, I try to use them like this:

<xsl:value-of select="$channel"/>

This doesn't seem to work.  What is wrong?

Thanks
Margrit

---------------------------------------------------------------------
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