You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Terence Kearns <te...@isd.canberra.edu.au> on 2004/05/03 07:20:06 UTC
Re: how to pass XSL param to stylesheet from sitemap
Joerg Heinicke wrote:
> On 29.04.2004 11:18, Terence Kearns wrote:
>
>> Basically I want to pass the matched pattern in {1} as the content of
>> an XSL parameter to whatever stylesheet I am using.
>>
>> Is this possible?
>
>
> Of course:
>
> <map:match pattern="*.html">
> <map:generate src="{1}.xml"/>
> <map:transform src="whatever.xsl">
> <map:parameter name="whateverParam" value="{1}"/>
> </amp:transform>
> <map:serialize type="html"/>
> </map:match>
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
Thankyou my good man...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org