cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: Simple question
Date Sat, 12 Feb 2005 12:19:05 GMT
On Sab, 12 de Febrero de 2005, 6:10, Mark Lowe dijo:
> Hello
>
> I've defined a parameter as follows
>
> <map:transform src="foo.xsl">
>  <map:parameter name="bar" value="{1}" />
>  </map:transform>
>
> Now I want to get to the value of bar in my xsl, how do I do this?

In your stylesheet use:
<xsl:stylesheet
     version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:param name="bar"/>

  <!- Your code goes here -->
</xsl:stylesheet>

Best Regards,

Antonio Gallardo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message