> -----Original Message-----
> From: Martin Mauri [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, March 25, 2002 5:36 PM
> To: [EMAIL PROTECTED]
> Subject: Re: XSL question
> 
> 
> Dear Alexandre,
> 
> Yes, I already know how to use params, but the point here is 
> that I need to
> pass the param from an outside source, say, the xml page that 
> uses this
> stylesheet ok? I don't know if I'm being clear, but that's my problem.

If you need a param that comes from the page you are processing then there's
no need for a param, just use <xsl:variable
select="/path/to/data-you-need"/> and you'll get what you want.

If you need a param from some other source (not sitemap) then you can use an
Action to create that param for you in sitemap then you can use it as usual.

Regards,
Konstantin Piroumian

> thanks!
> 
> ----- Original Message -----
> From: "Alexandre Victoor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 25, 2002 11:32 AM
> Subject: Re: XSL question
> 
> 
> > Hi,
> > you need to declare your parameter at the beginiing of the 
> stylesheet :
> >
> > <xsl:param name="yourparam"/>
> > ....
> > <xsl:template match="/">
> > ....
> >
> > Then in the body of your stylesheet, $yourparam  gives you 
> the value of
> the
> > parameter.
> >
> > Good luck
> > Alex
> >
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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]>
> 

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

Reply via email to