cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Margrit John <>
Subject Use of sitemap parameter in xslt
Date Tue, 30 Apr 2002 11:54:13 GMT
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:serialize type="html"/>

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

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?


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message