cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Margrit John <margrit.j...@wyona.com>
Subject Use of sitemap parameter in xslt
Date Tue, 30 Apr 2002 11:54:13 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message