cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: How to pass parameters to stylesheet from sitemap
Date Tue, 23 Apr 2002 16:04:24 GMT
> Is there a way to pass in a parameter to a stylesheet run by the xslt
> transformer?
>
> I want to do something like this:
>
>         <map:transform src="paginate.xslt">
>             <map:parameter name="pageLength" value="5"/>
>         </map:transform>
>
> But it doesn't seem to work.

It works here. Did declare <xsl:param name="pageLength" /> in your
stylesheet?

Konstantin

>
> Thanks,
>
> Steve
>
>
> ---------------------------------------------------------------------
> 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>
>

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