Sorry; you are right, it works fine, this looks like a bug in my stylesheet somewhere.
Thanks, Steve > -----Original Message----- > From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 12:04 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: How to pass parameters to stylesheet from sitemap > > > > 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: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>