Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Difference between xsl:param and xsl:variable? [Thread Next] Re: Difference between xsl:param and xsl:variable?To: NULL Date: 7/4/2004 4:00:00 PM Karsten Weinert wrote: > Hi! > Can you please explain to me the difference between a xsl:param and a > xsl:variable? Since I can assign a value to both only once, what's the > point? A small example would help me a lot. > > Regards, > Karsten. > -- > The email above is not in use. Please write to k dot weinert at gmx > dot net. Hi Karsten, you can assign different values to xsl:param like in the following example ... <xsl:call-template name="foo"> <xsl:with-param name="arg" select="1"/> </xsl:call-template> <xsl:call-template name="foo"> <xsl:with-param name="arg" select="2"/> </xsl:call-template> ... <xsl:template name="foo"> <xsl:param name="arg" /> ... </xsl:template> Best regards, Stephan | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
